A Admin • 833K Points Coach Q. Which of the following is the correct syntax for a for loop in C++? (A) for(int i=0; i<5; i++) (B) for(int i=0; i<=5; i++) (C) for(int i=0; i<5; i++) { } (D) for(int i=0; i<5) { } Correct Answer - Option(A) Views: 19 Filed under category C++ Hashtags: Share Manage Tags
Discusssion
Login to discuss.