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
How do you print an address?
Is void a keyword in c?
what is the function of pragma directive in c?
What is getch () for?
How do you redirect a standard stream?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
How does #define work?
What are the advantages and disadvantages of a heap?
Why does everyone say not to use scanf? What should I use instead?
What is the purpose of void pointer?
what is use of malloc and calloc?
What are data structures in c and how to use them?
Explain the difference between #include "..." And #include <...> In c?
What is strcmp in c?
What is mean by data types in c?