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