how to add two numbers without using arithmetic operators?
Answer Posted / rajkumar
#include<stdio.h>
#include<conio.h>
void main()
{
int a=6,b=3,sum=0;
sum=a^b;
printf("sum=%d",sum);
getch();
}
| Is This Answer Correct ? | 3 Yes | 9 No |
Post New Answer View All Answers
When was c language developed?
How can I open a file so that other programs can update it at the same time?
How does placing some code lines between the comment symbol help in debugging the code?
How pointers are declared?
What is c value paradox explain?
What is function and its example?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
Which node is more powerful and can handle local information processing or graphics processing?
Define VARIABLE?
What is difference between function overloading and operator overloading?
what is event driven software and what is procedural driven software?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
What is the size of structure in c?
what are bit fields in c?
How will you write a code for accessing the length of an array without assigning it to another variable?