Out of bound array | Cypress Semiconductor
Out of bound array
Summary: 3 Replies, Latest post by Gautam Das on 12 Apr 2011 11:42 PM PDT
Verified Answers: 0
08 Apr 2011 01:23 PM PDT#1
While using PSOC5 i notice the device doesn't crash when I access out of bound array.
#define MAX_ARRAY 16
int a = [array MAX_ARRAY]; //array should be in range 0 - 15
I'm using PSOC creator with GCC compiler in debug mode.