+ 2

what is type casting in c++

26th Feb 2018, 7:23 PM
NITIN BHOLA
NITIN BHOLA - avatar
2 odpowiedzi
+ 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
Solo Wanderer 4315
Solo Wanderer 4315 - avatar