To make it simpler (in my opinion) use the define I show you in the below code, it's much easier to remember when looking back on the code and looks much less sloppy. However, either of the two codes above also work the same way.
1 2 3 4 5 6 7 8 9 10
#define EVER ;;
int main()
{
for(EVER)
{
//Our code here will execute over and over FOREVER
}
return 0;
}