Advertisement
ZinedinZidan

p

Dec 5th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.28 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.    int x=5;
  5.    int *p;
  6.    p=&x;
  7.    printf("Value of x = %d\n",x);
  8.    printf("Address of x = %d\n",&x);
  9.    printf("Address of P = %d\n",p);
  10.    printf("Content of P = %d\n",*p);
  11.    printf("Address of p variable = %d\n",&p);
  12.    return 0;
  13.  
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement