Welcome Guest | Sign in | Register
Arrays - Discussion Page For Q.10463 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Arrays > Questions and Answers

Q: 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 D. The array size would appropriately grow

Answer and Explanation

Answer:The program may crash if some important data gets overwritten

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.