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
explain what is fifo?
I need previous papers of CSC.......plz help out by posting them.......
How can I manipulate strings of multibyte characters?
What math functions are available for integers? For floating point?
What are the types of i/o functions?
Which type of language is c?
Which one would you prefer - a macro or a function?
Why is sizeof () an operator and not a function?
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
find out largest elemant of diagonalmatrix
Why void is used in c?
Explain how to reverse singly link list.
What is break in c?
How to throw some light on the b tree?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion