Advertisement
STANAANDREY

linked list & pointer to pointer

May 16th, 2020
1,220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. typedef struct
  5. {
  6.     int data;
  7.     struct unnod *urm;
  8. } unnod;
  9.  
  10. int main()
  11. {
  12.     int x = 333;
  13.     int *p = &x;
  14.     int **pp = &p;
  15.     int ***ppp = &pp;
  16.     printf("%d", (***ppp));
  17.     puts("");
  18.     printf("%p", ppp);
  19.     return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement