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 the use of bit field?
What is new line escape sequence?
Explain how can I manipulate strings of multibyte characters?
while initialization of array why we use a[][2] why not a[2][]...?
any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()
What is function prototype?
What is calloc() function?
How many types of operator or there in c?
How do I get a null pointer in my programs?
What are types of structure?
Why is %d used in c?
Explain how can a program be made to print the line number where an error occurs?
What is %d called in c?
Which function in C can be used to append a string to another string?
Can you pass an entire structure to functions?