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...

Why doesn't the code "int a = 1000, b = 1000;
long int c = a * b;" work?

Answer Posted / guest

You must manually cast one of the operands to (long).

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the mean of function?

1066


How a string is stored in c?

1019


What is getch c?

1245


What is c preprocessor mean?

1247


Why c is known as a mother language?

1037


How will you divide two numbers in a MACRO?

1084


Why n++ execute faster than n+1 ?

2851


What are the string functions? List some string functions available in c.

950


What are Macros? What are its advantages and disadvantages?

1094


What is structure padding and packing in c?

1008


What is pre-emptive data structure and explain it with example?

3661


Explain what is a pragma?

996


In c language can we compile a program without main() function?

1061


write a program to find out prime number using sieve case?

2040


How does free() know explain how much memory to release?

1015