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 program for 7*8 = 56 ? without using * multiply
operator ? output = 56

Answer Posted / rama krishna sidhartha

Here is the logic.
void func()
{
int i;
int result = 0;
for(i = 0; i < 8; i++)
{
result = result + 7;
}
printf("%d",result);
}

Is This Answer Correct ?    8 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c is called top down?

1212


Differentiate between a structure and a union.

1329


Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

3598


Wt are the Buses in C Language

3262


Dont ansi function prototypes render lint obsolete?

1194


Which are low level languages?

1145


What is action and transformation in spark?

1225


What is a void pointer? When is a void pointer used?

1102


Which one would you prefer - a macro or a function?

1130


how many errors in c explain deply

2133


How do you do dynamic memory allocation in C applications?

1134


What is enumerated data type in c?

1124


What is variable and explain rules to declare variable in c?

1175


i want to know the procedure of qualcomm for getting a job through offcampus

2515


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

6017