#include "stdio.h" int main(void) { int a = 2, b = 5, c; c = a > b ? --a : --b; printf("a=%d,b=%d,c=%d\n", a, b, c); return 0; }