问题
填空题
设int a=5,b=6,表达式(++a==b--)++a:--b的值是 【6】 。
答案
参考答案:G
解析: 此表达式为三目运算符,++a的值为6,b --的值为6,则整个表达式的值为++a的值,++a的值为7。请注意前缀++,--和后缀++,--的区别。
设int a=5,b=6,表达式(++a==b--)++a:--b的值是 【6】 。
参考答案:G
解析: 此表达式为三目运算符,++a的值为6,b --的值为6,则整个表达式的值为++a的值,++a的值为7。请注意前缀++,--和后缀++,--的区别。
综合填空。根据句意,用所给单词的适当形式填空。 | |
countries. It's also one of the working 2 in the U.N. China is developing 3 and Beijing hosted 2008 Olympic Games. If we want to communicate with foreigners and prevent them from having trouble 4 , more and more people who can speak English well are 5 . 1._____ 2._____ 3._____ 4._____ 5._____ |