#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
Why static is used in c?
difference between Low, Middle, High Level languages in c ?
What is file in c preprocessor?
Why is c fast?
How can you allocate arrays or structures bigger than 64K?
Does c have enums?
What is the size of array float a(10)?
What is extern c used for?
What is pre-emptive data structure and explain it with example?
What is the sizeof () operator?
code for quick sort?
What are structure members?
What is c value paradox explain?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Differentiate between declaring a variable and defining a variable?