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
What is #define in c?
What is a list in c?
Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What is the meaning of typedef struct in c?
regarding pointers concept
What is difference between structure and union in c programming?
provide an example of the Group by clause, when would you use this clause
What is string length in c?
Describe explain how arrays can be passed to a user defined function
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
What is pointer in c?
Here is a neat trick for checking whether two strings are equal
What is the general form of #line preprocessor?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
What is the difference between break and continue?