C语言经验02 /* 程序说明:当/和*连用时即要用到/*时,中间应该留一个空格 如:a/*p p为一个指针,如果这样写的话编译器就会把/*当一个注释的开始来使用 应该写为a/(*p)或者a/ *p 这样就不会出错了 */ #include<stdio.h> void main() { int a=4,b=2,*p=&b,c; c=a/(*p); printf("%d",c); getche(); }