#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

What is the use of bit field?

635


What are types of functions?

559


Not all reserved words are written in lowercase. TRUE or FALSE?

719


Why does the call char scanf work?

612


what are # pragma staments?

1622






Why is python slower than c?

598


What is merge sort in c?

640


What are the types of unary operators?

656


What is the stack in c?

714


write a progrmm in c language take user interface generate table using for loop?

1571


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1314


What is header file definition?

564


How would you use the functions fseek(), freed(), fwrite() and ftell()?

699


Explain why C language is procedural?

766


Is c call by value?

599