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

#include<stdio.h>
void main()
{
int num = 2;
res = num << 1; //multiplication by 2
printf("%d\n",res);
}

Is This Answer Correct ?    24 Yes 37 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does c mean in standard form?

1182


What is the benefit of using #define to declare a constant?

1095


What's the difference between constant char *p and char * constant p?

1153


Write a program with dynamically allocation of variable.

1134


What does it mean when the linker says that _end is undefined?

1099


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1766


What is pass by reference in c?

1188


Explain how can I convert a string to a number?

1102


Explain the bubble sort algorithm.

1072


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1071


I came across some code that puts a (void) cast before each call to printf. Why?

1220


Why isn't any of this standardized in c? Any real program has to do some of these things.

1213


How do you convert strings to numbers in C?

1229


How is actual parameter different from the formal parameter?

1026


What is bin sh c?

1046