思迁数码科技Java软件工程师笔试题和面试题答案(三)
|来源:新高考网
B.When run, some error will occur.
C.Output is zero.
D.Output is null.
14:以下的C程序代码片段运行后C和d的值分别是多少
Int a =1,b =2;
Int c,d;
c =(a&b)&&a;
d =(a&&b)&a;
A.0,0
B.0,1
C.1,0
D.1,1
B.When run, some error will occur.
C.Output is zero.
D.Output is null.
14:以下的C程序代码片段运行后C和d的值分别是多少
Int a =1,b =2;
Int c,d;
c =(a&b)&&a;
d =(a&&b)&a;
A.0,0
B.0,1
C.1,0
D.1,1