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 / jai
c) Since expn2 becoming false will terminate do-while loop.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Can we assign string to char pointer?
How do I round numbers?
.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }
What is the use of a semicolon (;) at the end of every program statement?
Can i use “int” data type to store the value 32768? Why?
Disadvantages of C language.
Write a progarm to find the length of string using switch case?
write a program to create a sparse matrix using dynamic memory allocation.
How we can insert comments in a c program?
What is #define size in c?
What is c variable?
Where we use clrscr in c?
What is array of structure in c programming?