A-A+

What will be the output of the following C code? main() { int k num= 30; k =(num >

2020-09-18 20:53:53 资格考试 阅读

问题详情

What will be the output of the following C code?

main()

{

int k, num= 30;

k =(num > 5 ? (num <=10 ? 100:200): 500);

printf("%d", k);

}

请帮忙给出正确答案和分析,谢谢!

参考答案

题库:
考点: