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
Describe how arrays can be passed to a user defined function
What is meant by recursion?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
Program will then find the largest of three numbers using nested if-else statements. User is prompted to enter three numbers. Program will find the largest number and display it on the screen. All three numbers entered by the user are also displayed. If user enters 21, 33, and 5, the output should be as follows: You entered: 21, 33 and 5. The largest number is 33.
What is const volatile variable in c?
diff between exptected result and requirement?
What is #ifdef ? What is its application?
Can I initialize unions?
Disadvantages of C language.
What does c value mean?
will u please send me the placement papers to my mail???????????????????
What is a global variable in c?
Is a house a shell structure?
What is the difference between the local variable and global variable in c?
When is the “void” keyword used in a function?