Answers for "explicit vs implicit c++"

C++
1

explicit vs implicit c++

int x = 0;
double y = 10.0f;
x = y; //implicit conversion
x = (int)y; //explicit conversion
Posted by: Guest on September-12-2021

Browse Popular Code Answers by Language