Advertisements
Advertisements
प्रश्न
What is the relationship between loop invariant, loop condition, and the input-output recursively?
टीपा लिहा
उत्तर
A loop invariant is a condition [among program variables] that is necessarily true immediately before and immediately after, each iteration of a loop. A loop invariant is some condition that holds for every iteration of the loop.
shaalaa.com
Loop Invariant
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?