+ 2

int num[8]={1,2,3} then what the value of num[6]? option a) garbage value b) 2 c) '1 d) 3

19th Jun 2020, 2:43 PM
shree mundhe
3 Réponses
+ 1
The answer is 0 because there is no 6th element in the array.
19th Jun 2020, 2:53 PM
James Clark I. Vinarao
James Clark I. Vinarao - avatar
+ 1
0 , because there is no element in the array num at its 6th index
19th Jun 2020, 3:07 PM
Keerthy Sivadas
Keerthy Sivadas - avatar