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

ok
thank u sir

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between main and void main?

624


How many types of functions are there in c?

581


main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none

722


What are the disadvantages of c language?

614


Explain the bubble sort algorithm.

638






What is meant by realloc()?

668


What is the difference between formatted&unformatted i/o functions?

610


Explain what are global variables and explain how do you declare them?

635


Why isn't any of this standardized in c? Any real program has to do some of these things.

621


What is the purpose of sprintf?

615


What is the difference between functions abs() and fabs()?

643


What does the message "automatic aggregate intialization is an ansi feature" mean?

689


Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result

1467


Why is main function so important?

611


How can you access memory located at a certain address?

663