#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
Why c is known as a mother language?
Are the variables argc and argv are always local to main?
What are structural members?
What are the features of c language?
Is c++ based on c?
What is the main difference between calloc () and malloc ()?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What are data types in c language?
Explain what is the difference between a free-standing and a hosted environment?
What is the use of bit field?
Can you please explain the difference between syntax vs logical error?
Can we change the value of constant variable in c?
Where are the auto variables stored?
Explain how can you tell whether two strings are the same?
Who is the main contributor in designing the c language after dennis ritchie?