What's wrong? for (int k = 2, k <=12, k++)

A. the increment should always be ++k

B. the variable must always be the letter i when using a for loop

C. there should be a semicolon at the end of the statement

D. the commas should be semicolons

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The output of the following code is: main() { int sub[50]; for(i=0; i<=48;i++) { sub[i]=i; printf("%d",…
  2. What's wrong? (x = 4 && y = 5) ? (a = 5) ; (b = 6);
  3. A continue statement causes execution to skip to
  4. The output of the following code is: #define sqr(x= x*x) main() {int a = 10, b = 5; printf("%d, %d",…
  5. What's wrong? while( (i < 10) && (i > 24))
  6. What would be the output of the following program?int x=40;main(){int x=20;printf("%d",x);}
  7. p++ executes faster than p + 1.
  8. The output of the following code is: void main(){ int a = 20;printf("%d\t%d", ++a, a);}
  9. strcat() function ----------------------- two strings.
  10. perror( ) function used to ?
  11. fprintf()function can be used to write into console.
  12. C programs are converted into machine language with the help of
  13. Which of the following keyword supports dynamic method resolution?
  14. When a user defined function is defined in program, then it has to be called at least once from the…
  15. Left shift operator rotates the bits on the left and places them to the right.
  16. ------ is the ternary operator
  17. The printf() function retunes which value when an error occurs?
  18. Which of the following is not a standard exception built in C++.
  19. The statement "for (i = 0, j = 2; j <= 10; j++)" is a valid statement in 'C'.
  20. The output of the following code is: void main() {float a;int x = 10, y = 3; a = x / y;printf("%f",…
  21. Only one break can be used in one loop.
  22. All elements of a structure are allocated contiguous memory locations.
  23. Which escape character can be used to beep from speaker in C?
  24. Structures within structures cannot be created.
  25. What will be output if you will compile and execute the following c code?#include #define x 5+2 int…
  26. The output of the following code is: main() {int a = 0; for (; i = 0; i++) printf("%d", a); }
  27. A multidimensional array A[10][9] can store-------- number of elements
  28. The value of an enumerated datatype can be read using scanf() function.
  29. Single operations involving entire arrays are permitted in C.
  30. Which one of the following is not a valid reserved keyword in C++