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