#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 are the benefits of organizational structure?
What is a volatile keyword in c?
What are void pointers in c?
What is the explanation for prototype function in c?
What is meant by gets in c?
When should volatile modifier be used?
How a string is stored in c?
Explain how can I convert a number to a string?
What is a c token and types of c tokens?
Explain what are multidimensional arrays?
What is the size of a union variable?
What is identifiers in c with examples?
Without Computer networks, Computers will be half the use. Comment.
What is #include stdio h and #include conio h?
What is the difference between array and linked list in c?