If i do
double d = 34.56;
int i = (int)d;
Am I really not "lowering"?
OR
Is this term used only in terms of classes and objects?
I am confused because in this case we “lower” from larger doubleto smaller int, but in the case of classes we “lower” from smaller base classto larger derived class.
Are these two conventions in a sense not opposed?
source
share