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
Does c have enums?
Explain what is wrong in this statement?
Describe the header file and its usage in c programming?
How can a program be made to print the name of a source file where an error occurs?
Ow can I insert or delete a line (or record) in the middle of a file?
Mention four important string handling functions in c languages .
What is the meaning of 2d in c?
What are types of functions?
Explain what will the preprocessor do for a program?
What is a good data structure to use for storing lines of text?
Explain #pragma statements.
What is the use of void pointer and null pointer in c language?
What is calloc() function?
What will be the outcome of the following conditional statement if the value of variable s is 10?
Explain the difference between malloc() and calloc() function?