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
Why is c called a mid-level programming language?
how to introdu5ce my self in serco
Is r written in c?
Why dont c comments nest?
What is a struct c#?
write a program to input 10 strings and compare without using strcmp() function. If the character of one string matches with the characters of another string , sort them and make it a single string ??? example:- str1="Aakash" st2="Himanshu" str="Uday" output:- Aakashimanshuday (please post the answer as quickly as possible)
How can you find the day of the week given the date?
What are run-time errors?
Can a pointer be static?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What are compound statements?
What is the use of static variable in c?
If errno contains a nonzero number, is there an error?
regarding pointers concept