Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a=10;
  5. int *p;
  6. int **q;
  7. int ***e;
  8. printf("\nthe l value of a %d",&a);
  9. printf("\nthe r value of a %d",a);
  10. p=&a;
  11. printf("\nthe l value of p %d",&p);
  12. printf("\nthe r value of p %d",p);
  13. printf("\nthe value of a using pointer variable p %d",*p);
  14. q=&p;
  15. printf("\nthe l value of q %d",&q);
  16. printf("\nthe r value of q %d",q);
  17. printf("\nthe value of a using double pointer variable q %d",**q);
  18. e=&q;
  19. printf("\nthe l value of e %d",&e);
  20. printf("\nthe r value of e %d",e);
  21. printf("\nthe value of a using 3pointer variable %d",***e);
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement