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 / 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


Please Help Members By Posting Answers For Below Questions

Why cant I open a file by its explicit path?

1003


What are variables and it what way is it different from constants?

1205


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

2176


What is typedef struct in c?

1006


What is the correct declaration of main?

1169


Do you know what are the properties of union in c?

1022


How do you use a pointer to a function?

1043


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1113


What is a macro?

1058


Can you write the algorithm for Queue?

2044


What are the advantage of c language?

1018


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2144


What does sizeof return c?

1018


What is the sizeof () a pointer?

936


If null and 0 are equivalent as null pointer constants, which should I use?

1143