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 numbers without using arithmetic operators.

Answer Posted / abdur rab

#include <stdio.h>

int main ( int argc, char* argv [ ] )
{
int value1 = 10;
int value2 = 5;
printf ( "\n The sum is :%d", value1 | value2 );
}

Is This Answer Correct ?    10 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1079


What is the modulus operator?

1152


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

1076


Why malloc is faster than calloc?

1014


Explain the advantages and disadvantages of macros.

1035


What are the features of the c language?

1036


Explain how can I make sure that my program is the only one accessing a file?

1167


What does. int *x[](); means ?

1014


Why isnt there a numbered, multi-level break statement to break out

995


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1024


What is an expression?

1000


Lists the benefits of c programming language?

1067


the question is that what you have been doing all these periods (one year gap)

2017


Why is main function so important?

1047


what value is returned to operating system after program execution?

2062