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
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is #define used for in c?
Which is more efficient, a switch statement or an if else chain?
Explain the red-black trees?
how to capitalise first letter of each word in a given string?
What is a pragma?
What is null pointer constant?
Do you know the use of fflush() function?
Do pointers take up memory?
Is c is a middle level language?
What is const volatile variable in c?
What is the scope of global variable in c?
Explain what standard functions are available to manipulate strings?
Can we change the value of static variable in c?
What are the characteristics of arrays in c?