0

What is typecasting in c++

i am confused on it.

2nd Jul 2017, 4:19 AM
Santhosh Deena
Santhosh Deena - avatar
1 Antwort
+ 3
Typecasting is a way to change a variable to a new type. For example: string a = "42"; int a_number = (int)a;
2nd Jul 2017, 4:22 AM
Keto Z
Keto Z - avatar