c语言题 int a=1,b=2,c=3,d=4,e=5;k=a>b?c:d>e?d:e;求k的数值时多少?
运行结果:5
d>e吗?不大于所以选择e
a又不大于b
所以在c和e中选择e
最后k的值是5
为什么
因为所以啊,这你都不知道吗,