Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int a=10;
- int *p;
- int **q;
- int ***e;
- printf("\nthe l value of a %d",&a);
- printf("\nthe r value of a %d",a);
- p=&a;
- printf("\nthe l value of p %d",&p);
- printf("\nthe r value of p %d",p);
- printf("\nthe value of a using pointer variable p %d",*p);
- q=&p;
- printf("\nthe l value of q %d",&q);
- printf("\nthe r value of q %d",q);
- printf("\nthe value of a using double pointer variable q %d",**q);
- e=&q;
- printf("\nthe l value of e %d",&e);
- printf("\nthe r value of e %d",e);
- printf("\nthe value of a using 3pointer variable %d",***e);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement