Last Updated: February 25, 2016
·
537
· dasdom

The operator ?:

Using GCC or CLANG you the following code snippets are equivalent

int x = y ? y : z;

int x = y ?: z;