70,021
社区成员




int ctest(const int a, int b)
{
int *p = &a;
// a = 2; // 这条语句肯定不能通过编译,C语言保证且只保证了这一条。
*p = a + b;
return *p;
}
void main(void) {
/* put your own code here */
int t3;
int t1 = 1, t2 = 2;
t3 = ctest(t1,t2);
for(;;);
}
char *ptr="hello";
ptr[0] = 'a';