what does static cast char do c++ code example
Example 1: static_cast c++
static_cast conversion
C++ C++ language Expressions
Converts between types using a combination of implicit and user-defined conversions.
Syntax
static_cast < new_type > ( expression )
Returns a value of type new_type.
Example 2: static cast char c++
static_cast<char>(expression);