Loading...
State the type of loop in the given program segment: for (int i = 5; i ! = 0; i - = 2) System.out.println(i);
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.