Question
What is the difference between do-while and while
condition?Solution
The key difference lies in when the loop condition is checked. In the while loop, the condition is checked before the first iteration, potentially resulting in zero iterations. In the do-while loop, the condition is checked after the first iteration, ensuring that the loop body is executed at least once.
To survey the water on the Earth, which space agency has launched an international mission recently SWOT Spacecraft?
Which country recently joined the International Solar Alliance as its 95th member?
Which of the following organization gets DSCI AISS Award for āBest Security Practices in Government Sectorā?
What inflation trend was seen in edible oils in September despite the general low inflation?
Indiaā s first institute of āRegional Center for Unani Medicineā has been recently inaugurated in which state of India?
Which Country announced fresh sanctions on North Korea after ballistic missile tests?
Oman has set a target of attracting how many Indian tourists annually?
Which of the following was the parent company of Paytm?
How many migrant children rescued in Operation Muskaan-XI were enrolled in urban bridge schools?
Which country contributed 50% of total Foreign Direct Investment (FDI) in India in Q2 FY2024-25?