A

Admin • 833K Points
Coach

Q. 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
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.