#include <stdio.h>
int main (void)
{
int i[5]={10,6,56,8,9};
int *p;
p=i;
printf("%d %d %d\n",*p,*(p+1),*(p+2));
printf("%d %d %d\n",i[0],i[1],i[2]);
system("pause");
return 0;
}
The output is given below:
10 6 56
10 6 56
0 comments:
Post a Comment