what is meant by Type casting?

Explain your own answer with proper example?

  • Rahul
  • 12 Jul
  • 14211 Views
  • 42 Answers
Your Answer

Type casting is process of converting the date type of a variable into the other data type.
for ex.
int a=12;
float c=(float)a/3.0
the answer will be 4.0

C Language

Didn't get the answer.
Contact people of Talent-C Language directly by clicking here