MCQOPTIONS
Saved Bookmarks
| 1. |
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 program may crash if some important data gets overwritten. |
| B. | The element will be set to 0 |
| C. | The compiler would report an error |
| D. | The array size would appropriately grow |
| Answer» B. The element will be set to 0 | |