Question 9641 – Data-Structures
January 9, 2024Pipelining
January 10, 2024Question 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
→The first value is 3 and a[4] value is 0
3,2
0,2
3,0
0,4