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...

write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????

Answer Posted / mohan0877

#include<stdio.h>
main()
{
int a,b,result;
print("Enter values of a and b :")
scanf{"%d %d",&a,&b};
result=0;
while(b!=0)
{
if(b&01)
resultresul+a;
a<<=1;
b>>=1;
}
}

Is This Answer Correct ?    3 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it valid to address one element beyond the end of an array?

1121


How to establish connection with oracle database software from c language?

2141


What is typedf?

1066


How can you be sure that a program follows the ANSI C standard?

1560


What are the keywords in c?

1078


How to write a multi-statement macro?

989


What is adt in c programming?

1101


Write a program to reverse a given number in c language?

1049


Why & is used in scanf in c?

1050


what is ur strangth & weekness

2329


What is the g value paradox?

1105


write a proram to reverse the string using switch case?

2884


What is calloc malloc realloc in c?

1011


What is the benefit of using const for declaring constants?

990


What are the different types of errors?

1071