#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
Answer Posted / harish
i think wat rahul explained is true...but one correction to
be made is that main takes three arguments.... i dnt exactly
remember wat its called......
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the collection of communication lines and routers called?
Explain what is a stream?
What is the significance of an algorithm to C programming?
Is c++ based on c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Explain Function Pointer?
What is a c token and types of c tokens?
What are multibyte characters?
What is the full form of getch?
What is the 'named constructor idiom'?
What is unsigned int 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 are the application of void data type in c?
Write a program to generate the Fibinocci Series
What are the different types of control structures in programming?