Report Bug

QusWhich loop is guaranteed to execute at least one time, regardless of the condition? Qusस्थिति की परवाह किए बिना, किस लूप को कम से कम एक बार निष्पादित करने की गारंटी है?


A. for loop
B. while loop
C. do-while loop
D. None of the above


Solution
C. do-while loop



Explanation
In a do-while loop, the condition is checked after executing the loop body. So, it will always run at least once.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad