Question

What is the output of the following C code? #include int main() {     int i;     for (i = 0; i < 3; i++) {         printf("%d ",
i);     }     printf("%d",
i);     return 0; }

A 0 1 2
B 1 2 3
C 0 1 2 3 4
D 0 1 2 3
E Compilation error
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)