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

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

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is a house a mass structure?

1049


What is data types?

1018


Here is a good puzzle: how do you write a program which produces its own source code as output?

1032


Under what circumstances does a name clash occur?

1156


Who invented bcpl language?

1116


What is a program flowchart and how does it help in writing a program?

1082


How can type-insensitive macros be created?

1126


Explain how can I convert a string to a number?

1023


Why can arithmetic operations not be performed on void pointers?

980


difference between Low, Middle, High Level languages in c ?

2023


What does volatile do?

933


Why is #define used?

1227


Does c have an equivalent to pascals with statement?

957


Describe the order of precedence with regards to operators in C.

998


What does main () mean in c?

1054