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
Is that possible to add pointers to each other?
Differentiate between a for loop and a while loop? What are it uses?
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
Can we increase size of array in c?
What is the significance of scope resolution operator?
Do pointers store the address of value or the actual value of a variable?
Why is c called a mid-level programming language?
What is the advantage of c?
How do you override a defined macro?
What is the general form of a C program?
What are the 5 data types?
why wipro wase
What are the different types of linkage exist in c?
What are the features of c language?
What is double pointer in c?