Advertisement
dllbridge

Untitled

Jan 25th, 2022
862
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1.  
  2. #include       <stdio.h>
  3.  
  4.  
  5.  
  6. int n = 544;
  7.  
  8.  
  9. int *pn = &n;    // pointer (указатель)
  10.  
  11. ////////////////////////////////////////////////////
  12. int main()                                        //
  13. {
  14.  
  15.     printf(" n = %d \n",  n);
  16.     printf("Address = &n = %d \n", &n);
  17.     printf("---------------\n");
  18.    
  19.    
  20.     printf(" pn = %d \n",  pn);
  21.     printf("*pn = %d \n", *pn);    
  22.    
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement