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
write a c program to find the sum of five entered numbers using an array named number
Explain what is a static function?
What is meant by recursion?
What is the general form of #line preprocessor?
How can you determine the maximum value that a numeric variable can hold?
How does struct work in c?
What is the use of in c?
Why is c used in embedded systems?
Explain the meaning of keyword 'extern' in a function declaration.
Write a program to find factorial of a number using recursive function.
Why C language is a procedural language?
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?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is maximum size of array in c?
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?