हिंदी

Which of the following is an example of implicit type casting?

Advertisements
Advertisements

प्रश्न

Which of the following is an example of implicit type casting?

विकल्प

  • long to int

  • int to short

  • float to double

  • long to float

MCQ
Advertisements

उत्तर

float to double

Explanation:

  • Implicit type casting occurs automatically when a smaller data type is converted into a larger compatible data type.
  • A float is automatically converted to a double because a double has more precision and can store larger values.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1: Revision of Class 9 Syllabus - Exercises [पृष्ठ ४२]

APPEARS IN

रुपा पंडित Computer Applications [English] Class 10 ICSE
अध्याय 1 Revision of Class 9 Syllabus
Exercises | Q 1. (vii) | पृष्ठ ४२
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×