const int a = 10 int *p = (int*) &a; *p = 20; printf("a = %d", a);
是否可以输出10或20,具体取决于编译器?
c casting const
c ×1
casting ×1
const ×1