write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / nandu
#include<stdio.h>
#include<conio.h.
void main()
{
int a=10,b=20,c;
c=a-(-b);
printf("%d\n",c);
getch();
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can a pointer point to null?
What are pointers? What are stacks and queues?
What are the different types of control structures in programming?
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?
What is variable in c example?
Ow can I insert or delete a line (or record) in the middle of a file?
Explain union. What are its advantages?
What are the different types of data structures in c?
How can I make sure that my program is the only one accessing a file?
What is difference between main and void main?
i got 75% in all semester am i eligible for your company
What are different types of variables in c?
can any one provide me the notes of data structure for ignou cs-62 paper
Why do we use c for the speed of light?
Explain what is the general form of a c program?