MCQ8
CodeChefOpen on judge ↗
What is output of below program? int main() { int i; for(i=0; i<5; ++i++) { printf("Hello"); } return 0; } What will be the output? A.)Hello is printed 5 times B.)Compilation Error C.)Hello is printed 2 times D.)Hello is printed 3 times ### Input First line with the string for input ### Output Number of groups that can be formed ### Constraints 2<=Length of string<=10^9
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start