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 character set?

1166


how to build a exercise findig min number of e heap with list imlemented?

2074


Differentiate abs() function from fabs() function.

1007


Why does everyone say not to use gets?

1099


What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }

2490


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1974


What are static variables in c?

1078


What is c programming structure?

1185


What is the difference between break and continue?

1509


What happens if header file is included twice?

1142


What is the difference between pure virtual function and virtual function?

1115


What is the purpose of type declarations?

1114


What is hungarian notation? Is it worthwhile?

1218


What does struct node * mean?

1011


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2105