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
How to explain the final year project as a fresher please answer with sample project
What is static function in c?
What is the explanation for the dangling pointer in c?
What is the full form of getch?
What is the use of a semicolon (;) at the end of every program statement?
What library is sizeof in c?
write a program to create a sparse matrix using dynamic memory allocation.
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
Why is void main used?
How many levels of pointers have?
List some of the static data structures in C?
What is difference between constant pointer and constant variable?
What is string length in c?
Explain how can you check to see whether a symbol is defined?
What is getche() function?