#include <stdio.h> #include <stdlib.h> int main() { int x[]={1,2,3}; int s,i,*p=NULL; s=1; p=x; for (i=0;i<3;i++) s*=*(p+i); printf("%d\n",s); return 0; }
其中语句 s*=*(p+i); 是什么意思啊
收起
相当于 s = s * x[i];
报告相同问题?