The operator ?:
Using GCC or CLANG you the following code snippets are equivalent
int x = y ? y : z;
int x = y ?: z;
Written by dasdom
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Gcc
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#