πŸ“Š C Programming
Q. Which is not a valid keyword in C language?
  • (A) for
  • (B) while
  • (C) do-while
  • (D) switch
πŸ’¬ Discuss
βœ… Correct Answer: (C) do-while

Explanation: 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.

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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
439
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Kanak Sharma
Publisher
πŸ“ˆ
81%
Success Rate