मराठी

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×