Explain what is wrong with this program statement?
Write a C program where input is: "My name is xyz". output is: "xyz is name My".
How do I swap bytes?
What is union and structure?
What are the scope of static variables?
What is a program flowchart and explain how does it help in writing a program?
What is the difference between fread buffer() and fwrite buffer()?
what is the output of following question? void main() { int i=0,a[3]; a[i]=i++; printf("%d",a[i] }
do ne body have any idea about the salary for the we r going to have interview. yup .. u got it right ..i m talking abt NIC.
What is the size of enum in bytes?
how to write a bubble sort program without using temporary variable?
program to find middle element of linklist?
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]