为什么以下语句在C中合法但在Java中不合法?
int k = 1; (10 < 20) ? k++ : k--;
c java ternary-operator
c ×1
java ×1
ternary-operator ×1