what is the return value (status code) of exit() function....
what the arguments(integer value) passed to it means....
Answer Posted / arindam majumder
0 if successful and a non-zero value if unsuccessful.
The argument signifies whether the program have
executed successfully or not.
If 0,then it is successful.And a non-zero value indicates
an error.Several type of errors may occur.So a non-zero
value is supplied.Not 1 or 2 or...some specific value.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What is difference between structure and union in c?
What is typedef?
Explain the properties of union.
What is difference between union All statement and Union?
What is d scanf?
write a c program to find the sum of five entered numbers using an array named number
What is the sizeof () a pointer?
What is pre-emptive data structure and explain it with example?
how many key words availabel in c a) 28 b) 31 c) 32
Difference between MAC vs. IP Addressing
What is the purpose of 'register' keyword in c language?
What is bin sh c?
Do you know pointer 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]