Skip to content
CSCosmos
C // COSMOS
memory workbench
Overview
Learn
Lab
Problems
Toggle theme
Arena
for, while & Nested Loops
← 07
09 →
DRILL 08
Easy
Loop Output
What does this loop print?
drill.c
C
Copy
for (int i = 0; i < 4; i++) { printf("%d", i); }
Choose an answer
A
1234
B
0123
C
01234
D
123
Show hint