单选题:下列程序代码,正确的输出结果是( )
下列程序代码,正确的输出结果是( )
c++
int a=0xfe;
int b=027;
cout<<a<<","<<b<<endl;
A.0xfe,027
B.fe,27
C.254,23
D.254,27
answer:C
c++
int a=0xfe;
int b=027;
cout<<a<<","<<b<<endl;
A.0xfe,027
B.fe,27
C.254,23
D.254,27
answer:C