942 views
0 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.

Position:
Show:

Related questions

0 0 votes
0 0 answers
3.1k
3.1k views
sam.mavux asked Oct 12, 2018
3,055 views
What is the output of this C code? Please explain what is happening at line no. 12#include <stdio.h>int main(){int i = 97, *p = &i;foo(&p);printf("%d ", *p);return 0;}voi...
1 1 vote
1 1 answer
327
327 views
VEENIT_KUMAR asked Dec 8, 2025
327 views
i didnt understood the ii. (1 point) Example at (1,1) and the condition 3. We cannot determine from the complementary slackness conditions whether or not the example is a...
1 1 vote
2 2 answers
1.2k
1.2k views
Emankashyap asked Mar 14, 2024
1,163 views
Compound interest of second year is 132 on a certain some at 10% per annum, find the principal?132010001200None of these
0 0 votes
0 0 answers
714
714 views
Shrenik Pradhan asked Nov 16, 2023
714 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...