which of the following go out of the loopo if expn 2
becoming false
a.while(expn 1){...if(expn 2)continue;}
b.while(!expn 1){if(expn 2)continue;...}
c.do{..if(expn 1)continue;..}while(expn 2);
d.while(!expn 2){if(expn 1)continue;..}

Answer Posted / prashanth

answer: c

here in do-while:
fist the statements inside the block gets executed.then
when it checks the condition ,it will be come out of loop
because conditions goes wrong

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to find the sum of five entered numbers using an array named number

1626


Explain what is a static function?

639


What is meant by recursion?

640


What is the general form of #line preprocessor?

594


How can you determine the maximum value that a numeric variable can hold?

644






How does struct work in c?

617


What is the use of in c?

587


Why is c used in embedded systems?

621


Explain the meaning of keyword 'extern' in a function declaration.

736


Write a program to find factorial of a number using recursive function.

658


Why C language is a procedural language?

627


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

612


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

643


What is maximum size of array in c?

591


A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

1786