Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 2
int num[8]={1,2,3} then what the value of num[6]? option a) garbage value b) 2 c) '1 d) 3
2 Answers
+ 1
The answer is 0 because there is no 6th element in the array.
+ 1
0 , because there is no element in the array num at its 6th index