write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / praveenkumar
main()
{
int a,b,c;
printf("enter a,b values:");
scanf("%d%d",&a,&b);
c=((a)-(-b));
printf("a+b="&c);
}
Is This Answer Correct ? | 66 Yes | 3 No |
Post New Answer View All Answers
What is the use of bitwise operator?
What is f'n in math?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
How can I implement sets or arrays of bits?
Where static variables are stored in memory in c?
int i=10; printf("%d %d %d", i, i=20, i);
Explain the use of keyword 'register' with respect to variables.
diff between exptected result and requirement?
What does s c mean in text?
Dont ansi function prototypes render lint obsolete?
What is an arrays?
Explain how can a program be made to print the line number where an error occurs?
Why c is called object oriented language?
How to establish connection with oracle database software from c language?
Why main is not a keyword in c?