1.

The for statement can precede a loop to be executed 50 times or till a boolean variable "found" become false is given by

A. for(i=0; i<=50 ll found==false; i++)
B. for(i=0; i<50 ll found==true; i++)
C. for(i=1;i<=50 && found==true; i++)
D. Error
Answer» B. for(i=0; i<50 ll found==true; i++)


Discussion

No Comment Found

Related MCQs