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
how to introdu5ce my self in serco
What are the rules for the identifier?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
How to create struct variables?
What is void main () in c?
Why is event driven programming or procedural programming, better within specific scenario?
In C language, a variable name cannot contain?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is difference between structure and union?
What is pointers in c with example?
Is c easier than java?
What is malloc return c?
What is dynamic memory allocation?
Is main a keyword in c?
What is clrscr ()?