Advertisements
Advertisements
Question
A loop invariant need not be true ______
Options
at the start of the loop.
at the start of each iteration
at the end of each iteration
at the start of the algorithm
MCQ
Fill in the Blanks
Solution
A loop invariant need not be true at the start of the algorithm.
shaalaa.com
Loop Invariant
Is there an error in this question or solution?