A temporary change only

The use of a cast operator to change the type of the contents of a variable is temporary and lasts only for the duration of the expression in which the cast is performed.

There is no permanent change to the type of data stored in the variable.

In fact, it is not possible to permanently change the type of data stored in a variable.

One a variable is declared to be of a given type, its type can never be changed thereafter.

-end-