Write a C program to multiply tho numbers without using
arithmetic operator (+, -, *, /).



Write a C program to multiply tho numbers without using arithmetic operator (+, -, *, /)...

Answer / 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

More C Interview Questions

Write a program that receives as input a number omaadel-n-print, four digits.

0 Answers  


How are Structure passing and returning implemented by the complier?

0 Answers   TISL,


program for validity of triangle from 3 side

7 Answers  


What is the difference between arrays and pointers?

0 Answers  


Tell me when is a void pointer used?

0 Answers  






1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

0 Answers   TCS,


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

0 Answers  


write a c program to find the roots of a quadratic equation ax2 + bx + c = 0

11 Answers   CSC, St Marys, TATA,


How can you find the exact size of a data type in c?

0 Answers  


How to reverse a linked list

1 Answers   Aricent, Fidelity, IBM, TCS,


What is variables in c?

0 Answers  


What is variable in c example?

0 Answers  


Categories