#include "stdio.h" void main(){ int a[]={1,2,3,4,5,6,7,8}; int i,x ,*p; x=1; p=&a[3]; for( i=0; i<3; i++ ) x *= *(p+i); printf("x=%d\n",x); }
13期末5
时间: 2024-12-20 01:19:25
#include "stdio.h" void main(){ int a[]={1,2,3,4,5,6,7,8}; int i,x ,*p; x=1; p=&a[3]; for( i=0; i<3; i++ ) x *= *(p+i); printf("x=%d\n",x); }
13期末5