int main() { int a = 10; int b = 20; int c = a > b ? a : b; printf("%d\n", c); return 0; }
三目运算符
原文:https://www.cnblogs.com/xumaomao/p/11979902.html