Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Sum of two numbers without using arithmetic operators
int a=10;
int b=10;
int sum=a+b;
without using "+" operator calculate sum
Profile Answers by meda_reddy Questions by meda_reddy
Questions by meda_reddy
Editorial / Best Answer
jintojosProfile Answers by jintojos Questions by jintojos
void main()
{
int a=10,b=20;
while(b--) a++;
printf("Sum is :%d",a);
}