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

What is the use of bit field?

1184


What is new line escape sequence?

1357


Explain how can I manipulate strings of multibyte characters?

1207


while initialization of array why we use a[][2] why not a[2][]...?

2365


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

1123


What is function prototype?

1146


What is calloc() function?

1103


How many types of operator or there in c?

1100


How do I get a null pointer in my programs?

1115


What are types of structure?

1121


Why is %d used in c?

1007


Explain how can a program be made to print the line number where an error occurs?

1220


What is %d called in c?

1236


Which function in C can be used to append a string to another string?

1222


Can you pass an entire structure to functions?

1126