What will happen if in a C program you assign a value to an array element whose

label Programming
account_circle Unassigned
schedule 1 Day
account_balance_wallet $5

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 program may crash if some important data gets overwritten.
Sep 25th, 2017

Answer: Option C

..............................................................

Dec 11th, 2014

Did you know? You can earn $20 for every friend you invite to Studypool!
Click here to
Refer a Friend
...
Sep 25th, 2017
...
Sep 25th, 2017
Sep 26th, 2017
check_circle
Mark as Final Answer
check_circle
Unmark as Final Answer
check_circle
Final Answer

Secure Information

Content will be erased after question is completed.

check_circle
Final Answer