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;..}
Answers were Sorted based on User's Feedback
Answer / jai
c) Since expn2 becoming false will terminate do-while loop.
Is This Answer Correct ? | 10 Yes | 0 No |
Answer / bipin chandra sai.s
ans is d,bcoz d is only the loop statement in the option
Is This Answer Correct ? | 0 Yes | 4 No |
difference between semaphores and mutex?
main() { printf(5+"Vidyarthi Computers"); }
main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?
7 Answers AMCAT, HCL, Ramco, Zycus Infotech,
helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.
what is diff b/w huge & far & near pointer??
What's the difference between struct x1 { ... }; and typedef struct { ... } x2; ?
How arrays can be passed to a user defined function
What is pointer in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
Place the #include statement must be written in the program?
Between macros and functions,which is better to use and why?
How can I copy just a portion of a string?