ADVANCED TOPICS IN COMPILER DESIGN
CODE GENERATION FOR OBJECT ORIENTED LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A loop which is always carried out at least once.
|
Test-Last Loop
|
|
Test-First Loop
|
|
For
|
|
None of the above
|
Explanation:
Detailed explanation-1: -With a do while loop the condition is not evaluated until the end of the loop. Because of that a do while loop will always execute at least once.
Detailed explanation-2: -In the do while loop, body of the loop always executed at least once before the condition can be executed.
There is 1 question to complete.