What's wrong? while( (i < 10) && (i > 24)) | CPP MCQs

a. the logical operator && cannot be used in a test condition
b. the while loop is an exit-condition loop
c. the test condition is always false
d. the test condition is always true

Ans:c

0 comments:

Post a Comment

Blogger news