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
Which are low level languages?
What is volatile variable how do you declare it?
Do string constants represent numerical values?
In C language what is a 'dangling pointer'?
How do you define structure?
What are the advantages of union?
praagnovation
Explain a pre-processor and its advantages.
Explain what does it mean when a pointer is used in an if statement?
Which of the following operators is incorrect and why? ( >=, <=, <>, ==)
What is the difference between exit() and _exit() function?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
What is pivot in c?
What are the different types of C instructions?
What is the deal on sprintf_s return value?