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
What is output redirection?
What is pointer in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
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?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
c program for searching a student details among 10 student details
find the sum of two matrices and WAP for it.
What is a method in c?
What is #line used for?
What is pivot in c?
What is equivalent to ++i+++j?
How can I implement sets or arrays of bits?
Can we declare function inside main?
What is the difference between typedef and #define?
What does the error 'Null Pointer Assignment' mean and what causes this error?