Enumeration Values
Cast operation can be written by type(value) or older (type)value syntax.
Not legal to change a pointer type.
int * i;
char * c;
c = char *(i); // error: not legal syntax
static_cast would be even better.
Previous slide
Next slide
Back to first slide
View graphic version