हिंदी

Explain the term type casting.

Advertisements

प्रश्न

Explain the term type casting.

संक्षेप में उत्तर
Advertisements

उत्तर

This method of type conversion allows users to transform one data type to another based on their choices. This indicates the user expects the system to return the desired data type.

Example:

int a, b;
float x = (float) a + b;

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.03: Values and Data Types - EXERCISES [पृष्ठ ३३]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.03 Values and Data Types
EXERCISES | Q III. 5. | पृष्ठ ३३
धीरज मेहरोत्रा Computer Science [English] Class 12
अध्याय 6 Variables and Expressions
EXERCISE | Q 34. (d) | पृष्ठ १३२
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×