Nitin400

Program to demonstret the uges of this pointer

Sep 24th, 2020
1,651
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int name = 20;
  5.     int *p;
  6.     p=&name;
  7.     printf("\n address of variable name : %u,",&name);
  8.     printf("\n address in stores in pointer variable p : %u ",&p);
  9.     printf("\n address of variable name : %d",&p);
  10.     return 0;
  11. }
RAW Paste Data