1.

What is typecast? Mention the types of typecasting.

Answer»

Typecasting is making a variable of one type, such as an int, act like another type, a char, for one single operation. The two types of typecasting are implicit conversion and explicit conversion. 



Discussion

No Comment Found

Related InterviewSolutions