#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 / valli

why is it taking those two arguments?what is the need of
them?why we are taking integer and character arguments???

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 'bit masking'?

657


Explain 'bus error'?

565


What are multidimensional arrays?

656


What are the types of data files?

732


What does 3 mean in texting?

619






Which is best book for data structures in c?

601


Is c# a good language?

614


Explain what is the difference between functions getch() and getche()?

611


Describe dynamic data structure in c programming language?

608


What is enumerated data type in c?

631


how logic is used

1504


What is the use of #define preprocessor in c?

621


What are the uses of a pointer?

685


What are nested functions in c?

568


What is sizeof c?

612