//你说这个*p打出来是多少????哈哈哈
#include <stdio.h> void test(int *); int main(int argc, const char * argv[]) { int a = 10; int *p = &a; test(p); printf("*p = %d\n",*p); return 0; }
void test(int *newp) { int b = 100; newp = &b; *newp = 99; }
//你说这个*p打出来是多少????哈哈哈
|