20240524 C++面试题
明昧 Lv7

二级指针的理解

int a [5] [4], ( * p)[4]=a;,数组a的首地址为100,* ( p+2)+3等于 ( )

  • A 116
  • B 118
  • C 144
  • D 122

要做对这个题关键就是理解指针和内存

image-20240615121758642


一个地址+1就是一个字节

image-20240615121817825

 Comments
Comment plugin failed to load
Loading comment plugin
Powered by Hexo & Theme Keep
Unique Visitor Page View