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

What is output redirection?

1205


What is pointer in c?

1176


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1147


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1219


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1048


c program for searching a student details among 10 student details

2083


find the sum of two matrices and WAP for it.

1116


What is a method in c?

1121


What is #line used for?

1016


What is pivot in c?

1016


What is equivalent to ++i+++j?

1077


How can I implement sets or arrays of bits?

1026


Can we declare function inside main?

986


What is the difference between typedef and #define?

1039


What does the error 'Null Pointer Assignment' mean and what causes this error?

1197