Infinite Loop in C Program C Program How to write a c program to Infinite While Loop in C programming ? Solution: #include <stdio.h> int main() { int i; for(i = 0;;i++) printf("%d\n", i); return 0; } Learn More : Share this Share on FacebookTweet on TwitterPlus on Google+