Define loop invariant
Answers
Answered by
6
In computer science, a loop invariant is a property of a program loop that is true before (and after) each iteration. It is a logical assertion, sometimes checked within the code by an assertion call. Knowing its invariant(s) is essential in understanding the effect of a loop.
Kindly mark me as brainlist ☺️☺️☺️
Answered by
5
Explanation:
hope this is helpful Marj aa brainalist answer
Attachments:
Similar questions