#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 / vijay
argc means argument count
argv means argument vector
argc contains the no of arguments and argv[] contains the
argument values
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is #include stdio h?
how to write a c program to print list of fruits in alpabetical order?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What are identifiers and keywords in c?
What are type modifiers in c?
What is difference between constant pointer and constant variable?
What does == mean in texting?
Explain the array representation of a binary tree in C.
What is the difference between class and object in c?
How many loops are there in c?
Explain what is the difference between a free-standing and a hosted environment?
What is the 'named constructor idiom'?
What is openmp in c?
Explain is it better to bitshift a value than to multiply by 2?
What is time null in c?