• sizeof for the array, get the size of the space occupied by the entire array.
• sizeof for pointers, get the size of the space occupied by the pointer itself.
C++ sizeof()
Guess you like
Origin blog.csdn.net/it_xiangqiang/article/details/112916506
Recommended
Ranking