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 can I trap or ignore keyboard interrupts like control-c?
Is printf a keyword?
Write a program to swap two numbers without using third variable in c?
How many levels of indirection in pointers can you have in a single declaration?
Which is better oop or procedural?
What are keywords c?
Explain enumerated types in c language?
What are structures and unions? State differencves between them.
find out largest elemant of diagonalmatrix
What is putchar() function?
How does selection sort work in c?
What is the use of structure padding in c?
What is malloc and calloc?
Explain the difference between exit() and _exit() function?
What is a pointer in c?