ternary operator in c++ grea code example Example: c++ ternary operator <condition> ? <true-case-code> : <false-case-code>;