C Programming :: Arrays - Discussion
Home > C Programming > Arrays > MCQs Questions Discussion
55 / 55
Choose the correct option.
What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?
AThe element will be set to 0.
BThe compiler would report an error.
CThe program may crash if some important data gets overwritten.
DThe array size would appropriately grow.
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!