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