Mega Code Archive

 
Categories / C / Code Snippets
 

Pointer and pointers pointer

#include <stdio.h> int main(void) { int j, *p, **q; j = 23; p = &j; q = &p; printf("%d", **q); /* print the value of j */ return 0; }