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


Please Help Members By Posting Answers For Below Questions

Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

632


What does s c mean on snapchat?

590


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2195


What are valid signatures for the Main function?

703


praagnovation

1781






How many types of operators are there in c?

623


What is the advantage of using #define to declare a constant?

625


What does struct node * mean?

605


Write a program to print factorial of given number without using recursion?

573


In C language, a variable name cannot contain?

747


What is use of integral promotions in c?

668


What is the best way to store flag values in a program?

583


What does s c mean in text?

620


Explain the advantages and disadvantages of macros.

630


What is the difference between far and near in c?

604