How to add two numbers without using arithmetic operators?
Answer Posted / chirantan
//program to add two numbers without using + operator//
#include<stdio.h>
main()
{
int a,b,c;
printf("\n enter two numbers to add\n");
scanf("%d %d", &a,&b);
c=((a*a)-(b*b))/(a-b);
}
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
Why is c not oop?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Write a C program to count the number of email on text
What does the format %10.2 mean when included in a printf statement?
the question is that what you have been doing all these periods (one year gap)
How do you determine whether to use a stream function or a low-level function?
what type of questions arrive in interview over c programming?
What are qualifiers in c?
4. main() { int c=- -2; printf("c=%d",c); }
Explain the difference between #include "..." And #include <...> In c?
What is dynamic variable in c?
What is the difference between far and near in c?
What is maximum size of array in c?
main() { printf("hello"); fork(); }
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent