1.

What do you mean by implicit and explicit data type conversion?

Answer»

Implicit data conversion, the complier automatically converts the data types.(eg) float f; int a; g = a+f it transforms into float

Explicit type casting is done by the user. (eg) char c=’a’, cout << (int) c; Its output would be 97



Discussion

No Comment Found

Related InterviewSolutions