static_cast Usage
What does static_cast do in this code?
int a = 7;
int b = 2;
double result = static_cast<double>(a) / b;
Sign in to answer questions and track your progress
Sign InWhat does static_cast do in this code?
int a = 7;
int b = 2;
double result = static_cast<double>(a) / b;
Sign in to answer questions and track your progress
Sign In