Loading...
What is an infinite loop? Give an example.
Select the infinite loop:
Consider the program segment: int p=0; for(p=4 ; p>0 ; p- =2); System.out.print(p); System.out.println(p); The above statements will display:
© 2026 PadhAiPro. This question is provided for educational purposes.