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 program to multiply tho numbers without using
arithmetic operator (+, -, *, /).

Answer Posted / taz

int a=5,b=2,c,i,j;

for(i=1;i<=a;i++)
for(j=1;j<=b;j++)
c++;

printf("%d",c);

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I trap or ignore keyboard interrupts like control-c?

1072


Is printf a keyword?

1210


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

1141


How many levels of indirection in pointers can you have in a single declaration?

1095


Which is better oop or procedural?

1082


What are keywords c?

1039


Explain enumerated types in c language?

1059


What are structures and unions? State differencves between them.

1188


find out largest elemant of diagonalmatrix

2259


What is putchar() function?

1170


How does selection sort work in c?

1050


What is the use of structure padding in c?

1080


What is malloc and calloc?

1063


Explain the difference between exit() and _exit() function?

1175


What is a pointer in c?

1587