Solved

What Will Happen If in a C Program You Assign

Question 31

Multiple Choice

What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?


A) The element will be set to 0.
B) The compiler would report an error.
C) The array size would appropriately grow.
D) The program may crash if some important data gets overwritten.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents