Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int x=5;
- int *p;
- p=&x;
- printf("Value of x = %d\n",x);
- printf("Address of x = %d\n",&x);
- printf("Address of P = %d\n",p);
- printf("Content of P = %d\n",*p);
- printf("Address of p variable = %d\n",&p);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement