Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why is c called a mid-level programming language?

1147


how to introdu5ce my self in serco

1936


Is r written in c?

1106


Why dont c comments nest?

999


What is a struct c#?

997


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)

2045


How can you find the day of the week given the date?

1145


What are run-time errors?

1053


Can a pointer be static?

1016


a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion

2714


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

1165


What are compound statements?

1082


What is the use of static variable in c?

1041


If errno contains a nonzero number, is there an error?

1288


regarding pointers concept

1975