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

PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM

2145


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

1075


Write a program on swapping (100, 50)

1063


What functions are used for dynamic memory allocation in c language?

1077


What is main () in c?

1013


What is 1d array in c?

1029


What is the difference between malloc() and calloc()?

1692


What are keywords in c with examples?

1039


Explain function?

1034


Can we declare variable anywhere in c?

921


What do you mean by keywords in c?

1084


Why does everyone say not to use gets?

1027


What is #error and use of it?

1197


How can I determine whether a machines byte order is big-endian or little-endian?

1003


Can you write a programmer for FACTORIAL using recursion?

985