write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / praveenkumar
main()
{
int a,b,c;
printf("enter a,b values:");
scanf("%d%d",&a,&b);
c=((a)-(-b));
printf("a+b="&c);
}
| Is This Answer Correct ? | 66 Yes | 3 No |
Post New Answer View All Answers
What is identifier in c?
What is the purpose of scanf() and printf() functions?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
What Is The Difference Between Null And Void Pointer?
Can you define which header file to include at compile time?
What is the difference between memcpy and memmove?
Explain how are 16- and 32-bit numbers stored?
What are the rules for identifiers in c?
What is a struct c#?
What is meant by realloc()?
What is the c value paradox and how is it explained?
what are the 10 different models of writing an addition program in C language?
Why we use conio h in c?
what do you mean by enumeration constant?