Actually this code should give an error as the array index you are accessing is outofbound
Once again, C isn't a protected environment. You might get a compiler warning, but an error isn't likely. The code may also run without error if you don't walk off of the process' allocated memory or corrupt anything within the process and cause subsequent memory errors. This is an instance of undefined behavior.
THis doesn't turn up showing an error message..
this is because there is no array bound checking in C
AS far as C is concerned its completely the resposibility of the programmer to ensure that the array indices are within array size limits....
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"