Pointer allowing to store more than allocated size

后端 未结 0 823
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-30 08:15

Size of an int is 4 bytes and I am allocating only 1 byte.

#include

#include

int main(int argc,char ** argv)

{

int* a = (in         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题