int a[5] = {1,2,3}
What is the value of a[4]?
A.3
B.1
C.2
D.0
Answers
Answered by
2
Answer is option D. 0
Answered by
0
For the given multiple choice question answer is zero. i.e. correct option is d.
In the fourth location of an array it contains 0 since default initialization will take place.
Answer : (D) i.e. zero.
Learn more about array-
https://brainly.in/question/1849908?msp_srt_exp=4
https://brainly.in/question/49397669
https://brainly.in/question/5900836?msp_srt_exp=4
#SPJ3
Similar questions
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
Science,
1 year ago