ExamVeda
Login
Home
This question belongs to C Program Arrays And Strings
Arrays and Strings
?

int a[5] = {1,2,3}
What is the value of a[4]?

Answer & Solution
Correct Answer: Option D

In the fourth location of an array it contains 0 since default initialization will take place.

Examveda
Question posted by Examveda
Community

Join the Discussion

1 Comment
Vishwesh Kumar
Vishwesh Kumar 11 years ago
Answer will be D. Please Correct it.
By default initialization will take place