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
Why cant I open a file by its explicit path?
What are variables and it what way is it different from constants?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What is typedef struct in c?
What is the correct declaration of main?
Do you know what are the properties of union in c?
How do you use a pointer to a function?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is a macro?
Can you write the algorithm for Queue?
What are the advantage of c language?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What does sizeof return c?
What is the sizeof () a pointer?
If null and 0 are equivalent as null pointer constants, which should I use?