0
What value should I put in the for loop for incrementing?
int arr[8]; for(int x = 0;x<=?;x++) { } what value to put in the question mark?
7 Réponses
+ 3
7 because the array has a size of 8 and your starts numbering the variables at 0
+ 1
7
+ 1
7 ( the x value starts from 0 ,and the compiler increments this 8 times)
0
Thanks,Rick.
0
++ operator
0
7
0
7