Microprocessors - Engineering

Q1:

In Pascal the repeat and while loops will terminate

A only when the logical expression controlling the loop becomes true for both repeat and while loops

B only when the logical expression controlling the loop becomes false for both repeat and while loops

C only when the logical expression controlling the loop becomes true for repeat loop and false for while loop

D only when the logical expression controlling the loop becomes false for repeat loop and true for while loop

ANS:C - only when the logical expression controlling the loop becomes true for repeat loop and false for while loop

No answer description is available.