Question

What will be the output of the following code: int main() {     int i;     for(i = 0; i<5;i++)         i = 20;     printf("%d ",
i);     return(0); }

A 20 20 20 20 20
B 0 1 2 3 4
C 21
D 20 21 22 23 24
E None of these
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)