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

#include<stdio.h>
#include<conio.h>
void main()
{
int m,n,result=0;
printf("enter the value of m & n");
scanf("%d%d",&m,&n);
for(int i=1;i<=n;i++)
result=result+m;
printf("\n%d * %d =%d",m,n,result);
getch();
}

Is This Answer Correct ?    6 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is pointer initialized in c?

975


Which are low level languages?

1046


What are the valid places to have keyword “break”?

1039


Calculate 1*2*3*____*n using recursive function??

1981


Explain how can I open a file so that other programs can update it at the same time?

1055


What is dynamic memory allocation?

1282


How can I read a binary data file properly?

1076


Is using exit() the same as using return?

1249


Explain what is wrong with this statement? Myname = ?robin?;

1522


How many identifiers are there in c?

961


What is sizeof int in c?

1002


What is the difference between NULL and NUL?

1245


Tell us the use of fflush() function in c language?

1087


Is that possible to add pointers to each other?

1318


How many bytes is a struct in c?

1105