New course! Every coder should learn Generative AI!
Try a free lesson+ 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