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

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("enter the two numbers");
scanf("%d %d",%a,&b);
c=(-(-a-b));
printf("sum is = %d",c");
getch();
}

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain built-in function?

1085


Are c and c++ the same?

1001


What are 3 types of structures?

1021


What is typedf?

1063


Write a program to find the biggest number of three numbers in c?

1004


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1181


what are the facialities provided by you after the selection of the student.

2171


what value is returned to operating system after program execution?

2060


What is the purpose of 'register' keyword?

1045


What does & mean in scanf?

1042


How many levels of indirection in pointers can you have in a single declaration?

1024


What is structure data type in c?

965


What are shell structures used for?

982


What is getch?

1083


What are logical errors and how does it differ from syntax errors?

1223