हिंदी

Define the following with an example: Coercion - Computer Applications

Advertisements
Advertisements

प्रश्न

Define the following with an example:

Coercion

परिभाषा

उत्तर

Implicit Type Conversion or Coercion occurs in a mixed mode expression when the result's data type is converted to the highest available data type without the user's interaction.

Example:

int a;
long b, c;
c = 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. 3. (d) | पृष्ठ ३३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×