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
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none
What do you mean by invalid pointer arithmetic?
Can we change the value of #define in c?
What is data structure in c and its types?
Is calloc better than malloc?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Does sprintf put null character?
Explain the difference between strcpy() and memcpy() function?
a c code by using memory allocation for add ,multiply of sprase matrixes
What is oops c?
How variables are declared in c?
Write a program to print all permutations of a given string.
explain what is an endless loop?
What is structure and union in c?
What is the purpose of void pointer?