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\n%d\n",ptr-p,**ptr) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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\n%d\n",ptr-p,**ptr)

Why is output 1&40

25th May 2020, 3:25 PM
Karan Dewangan
Karan Dewangan - avatar
0 Answers