Previously I have declared b as a double and I now I want to convert back to int. Here is the code:Does this mean that now b is now a int where c = b? Am I right?Code:int c = static_cast<int>(b);
Previously I have declared b as a double and I now I want to convert back to int. Here is the code:Does this mean that now b is now a int where c = b? Am I right?Code:int c = static_cast<int>(b);