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


Please Help Members By Posting Answers For Below Questions

i have a written test for microland please give me test pattern

2189


What is external variable in c?

618


How do I get an accurate error status return from system on ms-dos?

653


What is an lvalue?

638


What is difference between arrays and pointers?

584






When would you use a pointer to a function?

591


What is calloc malloc realloc in c?

598


diff between exptected result and requirement?

1597


Does c have function or method?

596


What is the use of header files?

610


What is openmp in c?

616


all c language question

1878


What does typeof return in c?

640


What is void main ()?

617


What is integer constants?

626