हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा ११

What is the relationship between loop invariant, loop condition, and the input-output recursively? - Computer Science

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 8: Iteration and recursion - Evaluation - Section - B [पृष्ठ ११३]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
अध्याय 8 Iteration and recursion
Evaluation - Section - B | Q 4. | पृष्ठ ११३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×