Advertisement
DEKTEN

HAITAMDRAGON/CODE_STUFF_01

May 12th, 2021
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.43 KB | None | 0 0
  1. #include <stdio.h> //:for: printf(...)
  2. int main( void ){
  3.     printf("[BEG:main]\n");
  4.  
  5.  
  6.     int arr[8]={  
  7.     //: ADDR[00] [01] [02] [03] [04] [05] [06] [07] //:<--ADDR
  8.               0 , 10 , 20 , 30 , 40 , 50 , 60 , 70  //:<--VALUES
  9.     };
  10.  
  11.     int* ptr_70 = &(arr[7]);
  12.     printf( "*ptr_70:%d\n", *ptr_70 );
  13.  
  14.     for( int i = 0 ; i < 8 ; i++ ){
  15.  
  16.         printf( "arr:%d\n" , arr[i] );
  17.  
  18.     };;
  19.  
  20.     printf("[END:main]\n");
  21. }  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement