Advertisement
dllbridge

Untitled

Nov 29th, 2024
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.46 KB | None | 0 0
  1. #include   <stdio.h>
  2.  
  3. /////////////////////////////////////////////////////////////////
  4. int main()
  5. {
  6.    
  7.    
  8.   __int8 number = 128;
  9.    
  10.   __int8 *pNum = &number;
  11.  
  12.     printf("number = %d \n", number);
  13.     printf("adress of number = %d \n", &number);
  14.     printf("adress of number = %d \n", pNum);
  15.     printf("number = %d \n", &(*(&(*pNum))));
  16.    
  17.  
  18.     printf("- - - -  - - \n");
  19.  
  20.     printf("address of pNum = %d \n", &pNum);    
  21.    
  22. }
  23.  
  24.  
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement