हिंदी

Int x = (int) 32.8; is an example of ______ typecasting. - Computer Applications

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2022-2023 (March) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×