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

#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 ?    34 Yes 59 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are linker error?

1095


Do pointers store the address of value or the actual value of a variable?

1081


What is volatile variable in c with example?

1045


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1232


How many header files are in c?

1038


What do you mean by invalid pointer arithmetic?

1079


What is a shell structure examples?

1103


What is %s and %d in c?

1047


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1121


a program that can input number of records and can view it again the record

1918


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1089


What are # preprocessor operator in c?

1115


If I have a char * variable pointing to the name of a function ..

1172


Give the rules for variable declaration?

1178


Why is c known as a mother language?

1243