K

Kanak Sharma • 5.38K Points
Tutor III

Q. Which is not a valid keyword in C language?

  • (A) for
  • (B) while
  • (C) do-while
  • (D) switch

Explanation by: Kanak Sharma
do-while is not a valid keyword in the C programming language. It's a control statement. 'do' and 'while' are the separate keywords. The rest of all 'for', 'while', and 'switch' are the valid keywords in C.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics