Wednesday, 8 August 2012

What's wrong? while( (i < 10) && (i > 24)) | C++

[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

No comments: