Why does accessing an out-of-bounds array element not cause a segmentation fault?

Правка en1, от rahulnagurtha, 2016-10-13 18:18:59

This blog post is a continuation of this question. I want to know the chances of getting segmentation fault when accessing out-of-bound array element. Does the chances depend on whether the array is allocated on stack or heap ? Thanks.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский rahulnagurtha 2016-10-13 18:18:59 445 Initial revision (published)