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
Explain void pointer?
Is this program statement valid? INT = 10.50;
What are qualifiers?
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
What are the different types of constants?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
What is the translation phases used in c language?
What is the benefit of using an enum rather than a #define constant?
What is the difference between the expression “++a” and “a++”?
How to write a multi-statement macro?
What is a constant and types of constants in c?
What is string constants?
Is there any possibility to create customized header file with c programming language?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
How do you write a program which produces its own source code as output?