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
How is pointer initialized in c?
Which are low level languages?
What are the valid places to have keyword “break”?
Calculate 1*2*3*____*n using recursive function??
Explain how can I open a file so that other programs can update it at the same time?
What is dynamic memory allocation?
How can I read a binary data file properly?
Is using exit() the same as using return?
Explain what is wrong with this statement? Myname = ?robin?;
How many identifiers are there in c?
What is sizeof int in c?
What is the difference between NULL and NUL?
Tell us the use of fflush() function in c language?
Is that possible to add pointers to each other?
How many bytes is a struct in c?