write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / venky
main()
{
int a,b,c;
printf("enter a,b values:");
scanf("%d%d",&a,&b);
c=((a)-(-b));
printf("sum of a,b is %d",c);
}
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What is the use of sizeof?
What functions are used in dynamic memory allocation in c?
hi send me sample aptitude papers of cts?
What are the advantage of c language?
Why do we use c for the speed of light?
What does main () mean in c?
Explain what is a pragma?
write an algorithm to display a square matrix.
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
How arrays can be passed to a user defined function
What is the heap?
Why c is known as a mother language?
What do you know about the use of bit field?
What is a nested formula?
What are structures and unions? State differencves between them.