Question 5
A. We should know something about department stores.
B. We should look at the mirror and know our features.
C. We should know somenting about the products.
D. We should ask friends to go shopping with us.
设有如下的变量定义:inti=8,a,b;unsignedlongw=5;doublex=1.42,y=5.2;则以下符合C语言语法的表达式是()。
A. a+=a-=(b=4)*(a=3)
B. x%(-3)
C. a=a*3=2
D. y=float(i)
3.当c的值不为0时,在下列选项中能正确将c的值赋给变量a、b的是()。
A. c=b=a
B. (a=c) ‖(b=c)
C. (a=c) &&(b=c)
D. a=c=b
4.能正确表示a和b同时为正或同时为负的逻辑表达式是()
A. (a>=0‖b>=0)&&(a<0‖b<0)
B. (a>=0&&b>=0)&&(a<0&&b<0)
C. (a+b>0)&&(a+b<=0)
D. a*b>0