阅读背景:

在边界之外访问数组有多危险?

来源:互联网 

How dangerous is accessing an array outside of its bounds (in C)? It can sometimes happen that I read from outside the array (I now understand I then access memory used by some other parts of my program or even beyond that) or I am trying to set a value to an index outside of the array. The program sometimes crashes, but sometimes just runs, only giving unexpected results. How dangerous is accessing an array outside of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: