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
What is the difference between procedural and declarative language?
How we can insert comments in a c program?
What are the features of the c language?
What is the basic structure of c?
Write a simple code fragment that will check if a number is positive or negative.
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
List some of the dynamic data structures in C?
Can you think of a logic behind the game minesweeper.
What is the purpose of & in scanf?
Is Exception handling possible in c language?
How can I do serial ("comm") port I/O?
hi send me sample aptitude papers of cts?
What are shell structures used for?
What are Macros? What are its advantages and disadvantages?
What is indirection?