...
Question 9641 – Data-Structures
January 9, 2024
Pipelining
January 10, 2024
Question 9641 – Data-Structures
January 9, 2024
Pipelining
January 10, 2024

Question 2488 – KVS 30-12-2018 Part B

If an array is declared as

Int a[5]={3,0,1,2}, then values assigned to a[0] and a[4] will be

Correct Answer: C

Question 14 Explanation: 
→A[0] is first element and a[4] means 5th element. Array is declared for 5 elements are only four elements are initialized and the default value is 0.
→The first value is 3 and a[4] value is 0
A
3,2
B
0,2
C
3,0
D
0,4

Leave a Reply

Your email address will not be published. Required fields are marked *