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
How do I use strcmp?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What are the rules for identifiers in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Are bit fields portable?
Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?
Why are algorithms important in c program?
What does do in c?
write a proram to reverse the string using switch case?
Why isn't it being handled properly?
What is ## preprocessor operator in c?
What is the difference between new and malloc functions?
What is the use of gets and puts?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix