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

#include<Stdio.h>
#include<conio.h>

void main()
{
int a=10,b=20;
while(b--) a++;
printf("Sum is :%d",a);
}

Is This Answer Correct ?    9 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an endless loop?

1279


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1061


Why void is used in c?

1019


What is the difference between declaring a variable and defining a variable?

1281


How will you print TATA alone from TATA POWER using string copy and concate commands in C?

1382


How can you convert integers to binary or hexadecimal?

1037


What is substring in c?

1209


What is s in c?

1055


Is it better to use malloc() or calloc()?

1121


Write a program to swap two numbers without using third variable in c?

1135


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

3179


Do pointers take up memory?

1165


What is a MAC Address?

1066


How can I invoke another program or command and trap its output?

1099


What is the use of define in c?

1064