CJCoding With Joseph
← Back to Question List
C Code Walkthrough #37

do-while Runs the Body First

easyLoops

📄 Code

Read carefully — what does this print?
1#include <stdio.h>
2int main() {
3 int i = 5;
4 do {
5 printf("%d", i);
6 i--;
7 } while (i > 3);
8 return 0;
9}

🎯 Your Answer