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

How do I use strcmp?

639


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

729


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"

1582


What are the rules for identifiers in c?

588


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

635






Are bit fields portable?

677


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

669


Why are algorithms important in c program?

620


What does do in c?

610


write a proram to reverse the string using switch case?

2469


Why isn't it being handled properly?

645


What is ## preprocessor operator in c?

613


What is the difference between new and malloc functions?

580


What is the use of gets and puts?

604


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

1518