#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 null in c?
Write a program to check palindrome number in c programming?
how can use subset in c program and give more example
What is a MAC Address?
Explain what are the __date__ and __time__ preprocessor commands?
Why ca not I do something like this?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
If you know then define #pragma?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
Do you know pointer in c?
What is a double c?
What is the purpose of void pointer?
What is the value of c?
#include
What are the different types of objects used in c?