how to use question mark in code c++ code example Example: c++ question mark variable ? value if true : value if false;