#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


Please Help Members By Posting Answers For Below Questions

define string ?

662


Explain what is wrong with this statement? Myname = ?robin?;

992


Why we use conio h in c?

580


What is character set?

681


What is the equivalent code of the following statement in WHILE LOOP format?

763






Is using exit() the same as using return?

669


How do shell structures work?

563


What are the types of variables in c?

578


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1511


What are terms in math?

585


What are c identifiers?

623


What is the 'named constructor idiom'?

636


Differentiate between declaring a variable and defining a variable?

602


Is python a c language?

550


What is the correct declaration of main?

675