const_cast can be used to remove or add constness to a variable.

static_cast is used for conversion between types.