How to add two numbers without using arithmetic operators?
Answer Posted / ranjith
#include<stdio.h>
main()
{
int a=5,b=4,c;
c=a||b;
printf("sum="+c);
}
| Is This Answer Correct ? | 2 Yes | 21 No |
Post New Answer View All Answers
Array is an lvalue or not?
How can I remove the trailing spaces from a string?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
What is bin sh c?
What are local static variables?
What is #include stdlib h?
What is a volatile keyword in c?
What is a const pointer?
What are types of structure?
Write a program to reverse a string.
What is double pointer?
explain what is a newline escape sequence?
What are data structures in c and how to use them?
Explain 'far' and 'near' pointers in c.
What is the use of the function in c?