What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?
Posted: Thu Jul 14, 2022 9:07 am
a) The compiler would report an error
b) May stop working abruptly if data gets overwritten
c) None of the mentioned
d) The element will be set to 0
b) May stop working abruptly if data gets overwritten
c) None of the mentioned
d) The element will be set to 0