write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / venky
main()
{
int a,b,c;
printf("enter a,b values:");
scanf("%d%d",&a,&b);
c=((a)-(-b));
printf("sum of a,b is %d",c);
}
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What are local static variables?
Can you explain the four storage classes in C?
Explain modulus operator. What are the restrictions of a modulus operator?
What is the code in while loop that returns the output of given code?
How many identifiers are there in c?
What are the different types of errors?
i want to know the procedure of qualcomm for getting a job through offcampus
What is output redirection?
Which header file is essential for using strcmp function?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
Can we use any name in place of argv and argc as command line arguments?
Explain what are linked list?
How can my program discover the complete pathname to the executable from which it was invoked?
Where are the auto variables stored?
What are the disadvantages of c language?