CLion doesn't warn when write access violation is made

前端 未结 0 1888
灰色年华
灰色年华 2020-12-30 21:40

I ran this C code in CLion and Cygwin toolchain (gcc and gdb) in windows, I tried writing to str[5] which is not allocated:

#include 
#include          


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