adplus-dvertising
frame-decoration

Question

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

Posted under C Programming

Answer: (a).for(i=0; i<=50 ll found==false; i++)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. For x and y are variables as declared below
double x=0.005,y=-0.01;
What is the value of ceil(x+y)

Q. Find the output of the following :
for (i=1,j=10;i

Q. What does the statement

printf("%d",10?0?5:1:12);

prints :

Q. Printf("%d"printf("tim"));

Q. In a 'C' program, constant is defined

Q. What will be the value of x and y after execution of the following statement (C language)
n ==5;x=n++;y=-x;?

Q. Consider following statements:

putchar(getchar());
putchar(getchar());

If
a
b
is the input, then output will be

Q. If following variables are set to the values as shown below, then what is the value of the expression following it?

answer=2;
marks=10;

!((answer2))

Q. The statement

printf ( "%d" , sizeof (" "'));

prints

Q. The statement

printf ("%d", ( a++) ) ;

prints

Q. The statement

printf ("%d", ++5) ;

prints

Q. The statement

printf ("%d", 10 ? 0 ? 5 : 11 : 12 ) ;

prints

Q. int i = 5;

is a statement in a C program.Which of the following are true?

Q. printf("ab", "cd", "ef");

prints

Q. Consider the declaration 

static char hello[ ] = " hello " ;
The output of printf( " % s \ n ", hello) ;

will be the same as that of

Q. If a = 9, b = 5 and c = 3, 
then the expression ( a - a/b * b % c) > a % b % c
evaluates to

Q. The following statement

           prlntf( ‘%f ’, 9/5) ;

prints

Q. printf( "%c", 100);

Q. x - = y + 1;  means

Q. If n has the value 3, then the output of the statement

printf(  " %d %d " , n++, ++n);