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 [पृष्ठ ३३]