which loop is known as infinite loop for or while code example Example: infinite loop using while infinite loop using 'while'loop ----> while(1)