Top | MCQs on Data Structures | DSA Quiz for Beginners | Question 4

Last Updated :
Discuss
Comments

In an array int arr[3]={1,2,3}, what will happen if we try to access arr[4] in C/C++?

Run TIme error

3

0

Garbage value

Share your thoughts in the comments