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

What is the use of the function in c?

1072


What are the properties of union in c?

1111


Describe dynamic data structure in c programming language?

1140


Explain the difference between exit() and _exit() function?

1213


How can I find out how much free space is available on disk?

1104


What is the c language function prototype?

1142


What is the use of void pointer and null pointer in c language?

1167


What is the use of sizeof?

1064


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?

1264


What are pointers? What are different types of pointers?

1222


The difference between printf and fprintf is ?

1346


Can an array be an Ivalue?

1138


Why is python slower than c?

1133


Why #include is used in c language?

1103


Is c is a high level language?

1253