GATE | CS | 2020 | C Programming | Pointers | Question 32

Last Updated :
Discuss
Comments

Consider the following C program

C++
#include <stdio.h>
int main ()  {
    int  a[4] [5] = {{1, 2, 3, 4, 5},
                    {6, 7,8, 9, 10},
                    {11, 12, 13, 14, 15},
                    {16, 17,18, 19, 20}};
    printf(%d\n, *(*(a+**a+2)+3));
    return(0);
}

The output is

19

18

20

3

Share your thoughts in the comments