367 views
0 votes
0 votes

#include <stdio.h>

 int main()

{   

   int *a[] = {0,1,2,3,4};

 

    printf("arr0=%d\n", a+0) ;

    printf("arr1=%d\n", a+1);

    printf("arr2=%d\n", a+2);

    printf("arr3=%d\n", a+3);

    printf("arr4=%d\n", a+4);

    printf("again \n" ) ;

    printf("arr0=%d\n", *a+0);

    printf("arr1=%d\n", *a+1); 

    printf("arr2=%d\n", *a+2);

    printf("arr3=%d\n", *a+3); 

    printf("arr4=%d\n", *a+4); 

 

    return 0;

}

The output is
arr0=1123688464
arr1=1123688472
arr2=1123688480
arr3=1123688488
arr4=1123688496
again 
arr0=0
arr1=4
arr2=8
arr3=12
arr4=16
Please Explain 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
2 answers
2
Emankashyap asked Mar 14
64 views
Compound interest of second year is 132 on a certain some at 10% per annum, find the principal?132010001200None of these
0 votes
0 votes
0 answers
3
Shrenik Pradhan asked Nov 16, 2023
179 views
How can I represent the ER model in tabular form? , in java point, the tabular form doesn't seem to be correct.Ref. https://www.javatpoint.com/dbms-reduction-of-er-diagra...