How to add two numbers without using arithmetic operators?
Answer Posted / ramanareddy
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter the two numbers");
scanf("%d %d",%a,&b);
c=(-(-a-b));
printf("sum is = %d",c");
getch();
}
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
How can you restore a redirected standard stream?
what is the syallabus of computer science students in group- 1?
What is the purpose of macro in C language?
What is the difference between fread and fwrite function?
What is indirection in c?
Is it better to bitshift a value than to multiply by 2?
What is difference between structure and union with example?
What are the preprocessor categories?
Define the scope of static variables.
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is a substring in c?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
write a c program in such a way that if we enter the today date the output should be next day's date.
What is the value of c?