Code Artistry

🚨 C Infinite Loop or Not? 🤯
Check out this clever snippet 👇


#include <stdio.h>

int main() {
int i = 0;
for(;;) {
if (i == 3) break;
printf("%d ", i++);
}
return 0;
}


🔢 What will be the output?

💭 Think you know it? Comment your answer below!
💡 Hint: This for(;;) trick is classic in C.

🔥 Follow ‪@CodeArtistry63‬for daily code brain teasers and logic boosts!

4 months ago | [YT] | 14