fork download
  1. #include <stdio.h>
  2. int main() {
  3. int list[3][4] = {0, 1 ,2 ,3 ,4 , 5 , 6 , 7 , 8 , 9 , 10 , 11};
  4. printf("%p\n",(void*)list);
  5. printf("%p\n",(void*)*list);
  6. printf("%d\n",*(*(list+1)));
  7. printf("%p\n",(void*)*(list+1)+1);
  8. printf("%d\n",*(*list+1)+1);
  9. printf("%p\n", (void*)*((list+1)+1));
  10. printf("%p",(void*)((list+1)+1));
  11. return 0;
  12. }
Success #stdin #stdout 0s 5520KB
stdin
Standard input is empty
stdout
0x7fff77a3ef30
0x7fff77a3ef30
4
0x7fff77a3ef41
2
0x7fff77a3ef50
0x7fff77a3ef50