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 standard functions are available to manipulate strings?

1105


Explain the difference between ++u and u++?

1092


What is the difference between array and structure in c?

1114


What is difference between stdio h and conio h?

1339


What is the scope of global variable in c?

968


What are the scope of static variables?

1143


How can you convert integers to binary or hexadecimal?

994


any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

1107


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

2086


Can a function argument have default value?

1113


List some basic data types in c?

1000


What are runtime error?

1103


How can you check to see whether a symbol is defined?

1072


Difference between macros and inline functions? Can a function be forced as inline?

1229


How can I do graphics in c?

1000