What is significance of ** here? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is significance of ** here?

I was learning pointer but not understand the this program? #include <stdio.h> int main(){ int x=10; int *ptr=&x; int **ptr1=&ptr; printf("%d\n",x); printf("%u\n",&x); printf("%u\n",ptr); printf("%d\n",*ptr); printf("%u\n",**ptr1); printf("%u\n",ptr1); return 0; }

1st Jan 2021, 4:10 AM
Ankit Nainwal
Ankit Nainwal - avatar
1 Answer