1.

What are the types of casting shown by the following examples: (i) char c = (char) 120; (ii) int x = ‘t’;

Answer»

(i) Explicit type conversion, 

(ii) Implicit type conversion.



Discussion

No Comment Found

Related InterviewSolutions