[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Arrays - Discussion

Home > C Programming > Arrays > MCQs Questions Discussion

55 / 55

Choose the correct option.

What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?

AThe element will be set to 0.

BThe compiler would report an error.

CThe program may crash if some important data gets overwritten.

DThe array size would appropriately grow.

Answer: Option (Login/Signup)

Show Explanation

Asked In :: TCS Societe Generale

Post Your Answer Here:     

No Discussion on this question yet!