what is type casting in c++ | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

what is type casting in c++

26th Feb 2018, 7:23 PM
NITIN BHOLA
NITIN BHOLA - avatar
2 Réponses
+ 1
it means changing from data type to another for example you can cast an double variable to int double x = 1.5; int x = (int)x;
26th Feb 2018, 7:26 PM
Mostafa Khaled
Mostafa Khaled - avatar
27th Feb 2018, 2:31 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar