#include <stdio.h>
int main ( int argc, char* argv [ ] )
{
int value1 = 10;
int value2 = 5;
printf ( "\n The sum is :%d", value1 | value2 );
}
This is the answer asked by some one to add two numbers
with out using arithmetic operator?Yes this answer is write
it given out put as 15.But how?????
what is need of following line?
int main ( int argc, char* argv [ ] )
how it work?what is the meaning for this line?
please explain me.Advance thanks
Post New Answer View All Answers
How pointer is different from array?
What is the function of multilevel pointer in c?
What are the rules for the identifier?
writ a program to compare using strcmp VIVA and viva with its output.
What is memory leak in c?
What do mean by network ?
When should the volatile modifier be used?
What is the difference between exit() and _exit() function in c?
The difference between printf and fprintf is ?
What is the difference between #include
Explain how do you determine a file’s attributes?
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 the use of define in c?
Can you please explain the difference between strcpy() and memcpy() function?
What are void pointers in c?