Answer Posted / srinidhi
a=(a+b)-(b=a);
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Hi can anyone tell what is a start up code?
What is the correct code to have following output in c using nested for loop?
Explain how do you print only part of a string?
What is the purpose of main() function?
What is the difference between pure virtual function and virtual function?
What is const keyword in c?
How to implement a packet in C
Explain what header files do I need in order to define the standard library functions I use?
What does == mean in texting?
What is the purpose of 'register' keyword in c language?
Explain about C function prototype?
Do array subscripts always start with zero?
What is const volatile variable in c?
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]
What is actual argument?