#include <stdio.h>
int main(void){
void *p;
int a = 14322;
char c ='A';
p = &a;
//p = &c;
//強制類型轉換(int*)p 把變量指針p強制轉換成指向int類型的指針
printf("a=%d\n",*(int*)p);
p = &c;
printf("c=%c\n",*(int*)p);
return 0;
}
