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
WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..
How macro execution is faster than function ?
can we have joblib in a proc ?
What are the 5 types of inheritance in c ++?
How to implement a packet in C
What is memory leak in c?
What is the difference between the expression “++a” and “a++”?
What is the purpose of sprintf() function?
Explain high-order bytes.
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
What is the difference between volatile and const volatile?
Explain what is the benefit of using an enum rather than a #define constant?
Why use int main instead of void main?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
What are the main characteristics of c language describe the structure of ac program?