How to add two numbers without using arithmetic operators?
Answer Posted / pugalarasu
int sum(int num1,int num2)
{
for(int i=0;i<num2;i++)
num1++;
return num1;
}
| Is This Answer Correct ? | 39 Yes | 50 No |
Post New Answer View All Answers
What is the advantage of an array over individual variables?
What is multidimensional arrays
What’s a signal? Explain what do I use signals for?
why do some people write if(0 == x) instead of if(x == 0)?
What is the code for 3 questions and answer check in VisualBasic.Net?
Not all reserved words are written in lowercase. TRUE or FALSE?
What is the mean of function?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is substring in c?
What does it mean when a pointer is used in an if statement?
Differentiate between a structure and a union.
Why does this code crash?
What will be your course of action for a push operation?
Should a function contain a return statement if it does not return a value?
What is the use of header?