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

WRITE A PROGRAM TO MERGE TWO SORTED ARRAY USING MERGE SORT TECHNIQUE..

2074


How macro execution is faster than function ?

1196


can we have joblib in a proc ?

2307


What are the 5 types of inheritance in c ++?

1026


How to implement a packet in C

2889


What is memory leak in c?

1129


What is the difference between the expression “++a” and “a++”?

1234


What is the purpose of sprintf() function?

1132


Explain high-order bytes.

1121


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1212


What is the difference between volatile and const volatile?

988


Explain what is the benefit of using an enum rather than a #define constant?

1222


Why use int main instead of void main?

1125


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1835


What are the main characteristics of c language describe the structure of ac program?

1212