An endless loop is one that starts, but the boolean expression can never become true. Don't run this!!!! Example: //Endless loop, print 1 forever. #include <iostream> using namespace std; int main() { int num=1; while (num>0) cout<<num<<"\n"; return 0; } //main