#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 / harish
i think wat rahul explained is true...but one correction to
be made is that main takes three arguments.... i dnt exactly
remember wat its called......
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Explain can you assign a different address to an array tag?
How does pointer work in c?
int i=10; printf("%d %d %d", i, i=20, i);
What do you mean by c what are the main characteristics of c language?
What is #include called?
Difference between macros and inline functions? Can a function be forced as inline?
Difference between Function to pointer and pointer to function
why wipro wase
Why do we use static in c?
Write a C program to count the number of email on text
What is meant by initialization and how we initialize a variable?
What are the types of operators in c?
What are the advantages of using new operator as compared to the function malloc ()?
What is include directive in c?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.