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
What are linker error?
Do pointers store the address of value or the actual value of a variable?
What is volatile variable in c with example?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
How many header files are in c?
What do you mean by invalid pointer arithmetic?
What is a shell structure examples?
What is %s and %d in c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
a program that can input number of records and can view it again the record
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What are # preprocessor operator in c?
If I have a char * variable pointing to the name of a function ..
Give the rules for variable declaration?
Why is c known as a mother language?