How to add two numbers without using arithmetic operators?
Answer Posted / suhas
# include <stdio.h>
main()
{
int a=8,b=2;
a|=b;
printf("sum="+a);
}
Is This Answer Correct ? | 7 Yes | 43 No |
Post New Answer View All Answers
What is c value paradox explain?
What is a null pointer in c?
Differentiate between #include<...> and #include '...'
What is extern c used for?
using for loop sum 2 number of any 4 digit number in c language
What is header file definition?
What is hash table in c?
What is assert and when would I use it?
What are the header files used in c language?
Explain the difference between null pointer and void pointer.
In C language what is a 'dangling pointer'?
What is the general form of #line preprocessor?
What is function prototype in c language?
How do I send escape sequences to control a terminal or other device?
What are the various types of control structures in programming?