English

A loop invariant need not be true ______

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
Advertisements

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?
Chapter 8: Iteration and recursion - Evaluation - Section - A [Page 113]
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×