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

Programming
Tutor: None Selected Time limit: 1 Day

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.
Dec 11th, 2014

Answer: Option C

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

Dec 11th, 2014

Studypool's Notebank makes it easy to buy and sell old notes, study guides, reviews, etc.
Click to visit
The Notebank
...
Dec 11th, 2014
...
Dec 11th, 2014
May 25th, 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