Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

What is type casting in C++ ?

OpenStudy (anonymous):

Type casting refers to the data type conversions specified by the programmer, as opposed to the automatic type conversions. This can be done when the compiler does not do the conversions automatically. Type casting can be done to higher or lower data type. For example : cout<<(float)12/5; //displays 2.4, since 12 is converted to float type.

OpenStudy (anonymous):

Thanks

OpenStudy (anonymous):

no problem

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!