Welcome Guest | Sign in | Register
Typecasting - Discussion Page For Q.10484 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Typecasting > Questions and Answers

Exercise:

Section 1

Q: Which is a good use for typecasting?
A. To allow division of two integers to return a decimal value. B. To allow your program to use nothing but integers.
C. To change the return type of a function. D. To swap variables rapidly.

Answer and Explanation

Answer:To allow division of two integers to return a decimal value.

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.