写出下列程序的运行结果。 #include “stdio.h” Main()
题型:问答题
问题:
写出下列程序的运行结果。 #include “stdio.h” Main() { int a[]={1,2,3,-4,5}; int m,n,*p; p=&a[0]; m=*(p+1); n=*(p+4); printf(“%d %d %d ”,*p,m,n); }
写出下列程序的运行结果。 #include “stdio.h” Main() { int a[]={1,2,3,-4,5}; int m,n,*p; p=&a[0]; m=*(p+1); n=*(p+4); printf(“%d %d %d ”,*p,m,n); }