MCQ Answer

What will happen if you try to access an array element out of its bounds in C?

What will happen if you try to access an array element out of its bounds in C?

Topic : Arrays

A. Compilation error

B. Program will terminate with an error

C. Undefined behavior

D. Array index will wrap around




Correct Answer is :

C. Undefined behavior



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad