#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
Post New Answer View All Answers
What is difference between main and void main?
How many types of functions are there in c?
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
What are the disadvantages of c language?
Explain the bubble sort algorithm.
What is meant by realloc()?
What is the difference between formatted&unformatted i/o functions?
Explain what are global variables and explain how do you declare them?
Why isn't any of this standardized in c? Any real program has to do some of these things.
What is the purpose of sprintf?
What is the difference between functions abs() and fabs()?
What does the message "automatic aggregate intialization is an ansi feature" mean?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
Why is main function so important?
How can you access memory located at a certain address?