write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / vijayram600
#include<stdio.h>
#include<conio.h>
void main()
{
int a=10,b=20;
clrscr();
while(b--) a++;
printf("Sum is :%d",a);
getch();
}
| Is This Answer Correct ? | 21 Yes | 7 No |
Post New Answer View All Answers
What is the purpose of the preprocessor directive error?
How can I write functions that take a variable number of arguments?
What are variables and it what way is it different from constants?
How can I change their mode to binary?
Why array is used in c?
Are comments included during the compilation stage and placed in the EXE file as well?
How to draw the flowchart for structure programs?
What are identifiers and keywords in c?
What is this pointer in c plus plus?
What is the best style for code layout in c?
How do you construct an increment statement or decrement statement in C?
What are different storage class specifiers in c?
What is a string?
What is the use of gets and puts?
What does it mean when a pointer is used in an if statement?