#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
c, c++ , java, oracle, database design, c tutorial, c++ tutorial, java tutorial, oracle tutorial, programming, make program easy, c programming, c advance program, java advance program
#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; }
All rights reserved||Using Deluxe Template By Klodian
0 comments:
Post a Comment