1.

Explain the use of explicit conversion with an example.

Answer»

This is also called as typecasting. It temporarily changes a variable data type from its declared data type to a new one.

For example, T_Pay = double (salary) + bonus;



Discussion

No Comment Found