Vidyalelo
Data Structure · Q43

Arrays in Data Structures

Programming · Data Structure · question 43

Q43

What happens when you access an array element out of bounds in C++?

A.
The program crashes
B.
The compiler throws an error
C.
The runtime throws an error
D.
Undefined behavior
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board