When should a type cast be used? Ans. There are two situations in which to use a type cast. The first use is to change the type of an operand to an arithmetic operation so that the operation will be performed properly. The variable f1 is set to the result of dividing the integer...
See more
Download the Study24x7 App, so you can connect and collaborate.