问题
单项选择题
设int a=10,b= 11,c=12;,表达式( a + b) < c & &b= =c的值是( )。
A.2
B.0
C.-2
D.1
答案
参考答案:B
解析:本题考查的是运算符的优先级,应该先计算a+b的值为21,然后 与c比较大小的值为0,根据“&&”的运算规则,整个表达式的值为0。
设int a=10,b= 11,c=12;,表达式( a + b) < c & &b= =c的值是( )。
A.2
B.0
C.-2
D.1
参考答案:B
解析:本题考查的是运算符的优先级,应该先计算a+b的值为21,然后 与c比较大小的值为0,根据“&&”的运算规则,整个表达式的值为0。
用方框中词或短语的适当形式完成短文。 | |
| |
Nowadays, more and more people learn and speak English. China may have the largest l.________ of English learners. At first, the English spoken in England was very different from today's English. It was 2.________ more on German than the English we speak 3.________ It has changed and developed 4.________ especially when cultures meet and 5.________ each other. In history, Shakespeare 6.________ a wider vocabulary than ever before. By the 19th century, Samuel Johnson's and Noah Webster's dictionaries 7.________ big changes in English spelling. The 8.________ gave a separate 9. ________ to American English spelling. Now many countries in South Asia and Africa, 10.________ India, Singapore, South Africa and so on speak English as a foreign or second language. |