Command in C or C++ that will produce an infinite loop unless a break; or return ; command is included. while(1) is useful as an alternative to for(;;) or :label ... goto label;. Takes direct advantage of the fact that 1 is a nonzero result&and will always be true.