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 difference between malloc calloc and realloc in c?
What is difference between array and pointer in c?
What are pointers?
Are c and c++ the same?
Why isnt any of this standardized in c?
Explain the red-black trees?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
#include
What is New modifiers?
4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.
Is multithreading possible in c?
How many bytes are occupied by near, far and huge pointers (dos)?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
Why are algorithms important in c program?