1(xiii)
int x = (int)32.8; is an example of ............... typecasting.
- (a)implicit
- (b)automatic
- (c)explicit
- (d)coercion
Show SolutionHide Solution↓
explicit
Reason — In explicit type conversion, the data gets converted to a type as specified by the programmer. Here, the float value 32.8 is being converted to int type by the programmer, explicitly.