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
Which is better malloc or calloc?
How can I discover how many arguments a function was actually called with?
Differentiate between ordinary variable and pointer in c.
Explain bitwise shift operators?
Explain bit masking in c?
what do u mean by Direct access files? then can u explain about Direct Access Files?
How can you be sure that a program follows the ANSI C standard?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Hi can anyone tell what is a start up code?
How many types of errors are there in c language? Explain
When should volatile modifier be used?
What is the difference between Printf(..) and sprint(...) ?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What standard functions are available to manipulate strings?