Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What is FIFO?

3 Answers  


is assignment operator is arithmatic or not

3 Answers   Infosys,


Explain the difference between #include "..." And #include <...> In c?

0 Answers  


What is the difference between variable declaration and variable definition in c?

0 Answers  


Between macros and functions,which is better to use and why?

0 Answers  


Why c is procedure oriented?

0 Answers  


WHY DO WE USE A TERMINATOR IN C LANGUAGE?

2 Answers  


What is a char in c?

0 Answers  


Explain the use of keyword 'register' with respect to variables.

0 Answers  


#include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain &#1567;&#1567;&#1567;

4 Answers  


Predict the output or error(s) for the following: 25. main() { printf("%p",main); }

3 Answers   Google, ME,


How can you return multiple values from a function?

0 Answers  


Categories