Explain your own answer with proper example?
type casting is a process of converting the variable from one datatype to another datatype. ex: we are declaring variable m as int. int m; we want to change the variable to float as placing the (float) datatype to the variable. int m=10; float p; p=(float)m; The output is m=10 and p=10.0 The output is