What is the highest value assumed by the loop counter in a correct for statement the following header? for (i = 7; i <=72; i++7) a) 7 b) 77 c) 66 d) 72 (ix) what is the output of this program? #include int var-20; int maino int var10 printf("%d", var): return 0; a) Garbage value b) 20 c) 10 d) Compile error (x) Which of the following is not a correct way to initialize an array? a) int [5] = {0.7.0, 3. 8. 2): b) int [1 - 707.0,3. 8. 2): c) int n[5] = {7}: d) in (5) - 16,6, 6); (xi) What's wrong with this code? int[] = (1, 2, 3, 4, 5); a) The array size must be specified in the square brackets. b) The parentheses should be square brackets. c) The square brackets should be curly braces. d) The parentheses should be curly braces.
Previous question