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 (+, -, *, /).

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


Please Help Members By Posting Answers For Below Questions

What is union and structure in c?

1216


Why are all header files not declared in every c program?

1103


Can a variable be both const and volatile?

1130


Explain what is the use of a semicolon (;) at the end of every program statement?

1223


What is the value of h?

1039


What is extern variable in c with example?

989


How do you override a defined macro?

1262


What are control structures? What are the different types?

1086


What's the right way to use errno?

1138


If you know then define #pragma?

1102


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1097


diff between exptected result and requirement?

2049


Which is the memory area not included in C program? give the reason

1943


What is quick sort in c?

1083


What are the salient features of c languages?

1096