0Which of the following causes an infinite loop?Afor (int i = 10; i >5; i--) { }Bdo { } while (0);Cwhile (1) { }Dfor (int i = 0; i < 10; i++) { } Correct answer: C Explanationwhile (1) never has a false condition, so it loops forever. Join the discussion Report an error Share