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.
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.