Advertisements
Advertisements
प्रश्न
int x = (int) 32.8; is an example of ______ typecasting.
पर्याय
impiicit
automatic
explicit
coercion
MCQ
रिकाम्या जागा भरा
उत्तर
int x = (int) 32.8; is an example of explicit typecasting.
Explanation:
In an explicit type conversion, data of one type is explicitly converted to a different kind by the programmer's intervention, shown here by writing(int).
shaalaa.com
Type Conversion
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?