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 compiler would report an error.
B. The element will be set to 0.
C. The array size would appropriately grow.
D. The program may crash if some important data gets overwritten.
Category
- BBA
- Bio-Chemical Engineering
- Bio-Chemitry
- Biology A
- Biology O
- Biotechnology
- C Programming
- C SAT
- Chemical Engineering
- Chemical Engineering Gate
- Chemistry A
- Chemistry O
- Civil Engineering
- College Biology
- College Chemistry
- College Math
- College Physics
- Computer Science
- Database Topics
- Digital Electronics
- Electrical Engineering
- Electrical Engineering Gate
- Electronic Devices and Circuit Theory
- Electronics and Communication
- English
- General Aptitude
- GK New
- Gujrati
- Hindi
- Information Technology
- Java Programming
- Kannada
- Linux
- Literature Quiz
- malayalam
- Marathi
- MBA
- Mechanical Engineering
- Mechanical Engineering Gate
- Medical PG
- Metallurgical Engineering
- Micro Biology
- Networking Topics
- OP Bihar
- OP Chattisghar
- OP Delhi
- OP Haryana
- OP Himachal
- OP Jharkhand
- OP MadhyaPradesh
- OP Rajstan
- OP UK
- OP USA
- OP Uttarakhand
- PHP Programming
- Physics A
- Physics O
- Scientist Quiz
- Tamil
- Telugu
- US History
- Uttar Pradesh