Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h> //:for: printf(...)
- int main( void ){
- printf("[BEG:main]\n");
- int arr[8]={
- //: ADDR[00] [01] [02] [03] [04] [05] [06] [07] //:<--ADDR
- 0 , 10 , 20 , 30 , 40 , 50 , 60 , 70 //:<--VALUES
- };
- int* ptr_70 = &(arr[7]);
- printf( "*ptr_70:%d\n", *ptr_70 );
- for( int i = 0 ; i < 8 ; i++ ){
- printf( "arr:%d\n" , arr[i] );
- };;
- printf("[END:main]\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement