A

Admin • 833K Points
Coach

Q. Which of the following is not a valid C++ loop?

  • (A) for
  • (B) while
  • (C) repeat
  • (D) do-while
  • Correct Answer - Option(C)
  • Views: 16
  • Filed under category C++
  • Hashtags:

Explanation by: Admin

The 'repeat' loop does not exist in C++. C++ supports 'for', 'while', and 'do-while' loops.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.