I'm studying C++ by two months using the book : Programming principles and practice using C++, and now I wanted to clarify some doubts about my casting. When I am performing an implicit conversion, for example :
char c = 'a';
int b = c;
Here the value of c is implicitly converted to int type without using any explicit operator. Is this considered casting ? or its considered casting just when I have to performe an explicit conversion like in :
int a = 10;
int b = 5.5;
double sum = double (a) / b;
I know it may sound a stupid question but I just wanted to be sure about conversions.