选择题 8.  设a=1,b=2,c=3,d=4,则表达式a<b?a:b<b?a:c<d?a:d的结果为______。
【正确答案】 D
【答案解析】 在三目运算符中,优先级相同,按从右到左的结合性计算,a<b?a:(c<d?a:d)c<d成立,所以取值a,由此可知,选择选项D。