What happen if we assign a value to an array element whose subscript exceeds the size of array?
sirfria:
Overloading..
Answers
Answered by
0
Array out of bound error will appear
Answered by
0
Two things can happen here. Other data maight be overwritten or there will be an error message from the compiler.
But the outcome depends a lot on the program being used, the compiler and the system.
In languages, except C, an exception is thrown. In such cases, Windows is very strict and Linux gives some extra space.
Similar questions
Social Sciences,
6 months ago
Chemistry,
6 months ago
Economy,
11 months ago
English,
1 year ago
Math,
1 year ago