how to add two numbers without using arithmetic operators?
Answer Posted / rajkumar
#include<stdio.h>
#include<conio.h>
void main()
{
int a=6,b=3,sum=0;
sum=a^b;
printf("sum=%d",sum);
getch();
}
Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
What is difference between far and near pointers?
What is #line used for?
What does int main () mean?
What do you mean by dynamic memory allocation in c?
What is the difference between exit() and _exit() function?
how logic is used
Explain how can I right-justify a string?
What does a function declared as pascal do differently?
What is the code for 3 questions and answer check in VisualBasic.Net?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
How can I do graphics in c?
Write a program to check armstrong number in c?
What are the restrictions of a modulus operator?
Can a function argument have default value?
What happens if you free a pointer twice?