Write a C program to multiply tho numbers without using
arithmetic operator (+, -, *, /).
Answer Posted / taz
int a=5,b=2,c,i,j;
for(i=1;i<=a;i++)
for(j=1;j<=b;j++)
c++;
printf("%d",c);
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is an arrays?
Is c is a procedural language?
What is a dynamic array in c?
What is the difference between constant pointer and constant variable?
What is meant by recursion?
Is c programming hard?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Explain how do you sort filenames in a directory?
Write a factorial program using C.
Why we use conio h in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What is putchar() function?
What is the use of getchar() function?
Differentiate between #include<...> and #include '...'
Hi can anyone tell what is a start up code?