For best c++ practice, we should use `static_cast`instead of `c cast`.