write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / sivaprabhu
main()
{
int a,b,c;
printf("enter the values a,b");
scanf("%d%d",&a,&b);
c=a-(~b)-1;
printf("the sum is %d",c);
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Give me the code of in-order recursive and non-recursive.
How do you define structure?
Explain how can I avoid the abort, retry, fail messages?
What are the 5 organizational structures?
What is const keyword in c?
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
What is difference between constant pointer and constant variable?
What is non linear data structure in c?
What is the concatenation operator?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Why can't I perform arithmetic on a void* pointer?
Write a program to print numbers from 1 to 100 without using loop in c?
How do I get a null pointer in my programs?
Explain void pointer?
Is flag a keyword in c?