Consider the following C program.

#include

int main (  )

{

                static int a [ ] = {10, 20, 30, 40, 50} ;

                static int *p [ ] = {a, a+3, a+4, a+1, a+2} ;

                int **ptr = p;

                ptr++;

                printf(“%d, **ptr) ;

The output of the program is _________

1
50
2
40
3
address of ptr
4
30

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation