#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 / valli
why is it taking those two arguments?what is the need of
them?why we are taking integer and character arguments???
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
List the difference between a "copy constructor" and a "assignment operator"?
Is malloc memset faster than calloc?
What is the difference between ++a and a++?
What is the advantage of a random access file?
What is omp_num_threads?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
What is difference between static and global variable in c?
Is multithreading possible in c?
Can a program have two main functions?
program to convert a integer to string in c language'
How is a macro different from a function?
How can I write a function analogous to scanf?
What is the purpose of clrscr () printf () and getch ()?
Explain the process of converting a Tree into a Binary Tree.
Why do we use header files in c?