volatile

volatile is a keyword that hint on C or C++ compliers that the declared variable should not be optimised since it could it changed during runtime.

Links to this page
  • const_cast

    const_cast is a safer version of C cast. It removes the constness or #volatileness of the variable and allows the change of value for the variable at that time.

  • _Generic

    The expression could be variable or function (decay to 202202142131#). Therefore, depending on the type of X, it will find the most suitable expression for itself according to the result of controlling expression. The variables in controlling expression including the function parameters should not be qualified types (have identifier 202202111824#, 202202111830#, 202205171452#, 202205171504# and 202202081526#), array types and function types.

#c #cpp