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
What is the use of function in c?
Explain the use of #pragma exit?
What is c language in simple words?
Explain the difference between exit() and _exit() function?
What is the purpose of macro in C language?
What is identifiers in c with examples?
Explain what is output redirection?
How can I remove the trailing spaces from a string?
What are the characteristics of arrays in c?
What are qualifiers in c?
What is the purpose of 'register' keyword in c language?
What is indirection?
What does %d do in c?
What is the difference between text and binary modes?
What is default value of global variable in c?