Explain your own answer with proper example?
Type casting is a way to convert one data type into another data type.
Eg:
int i=17;
char c='c';
int sum;
sum=i+c;
printf("%d is the sum",sum);
the output will be : 116 is the sum
here it will take the asci value of c.