单选题:下列程序代码,正确的输出结果是( )
下列程序代码,正确的输出结果是( )
c++
int a=0xff;
int b=017;
cout<<a<<","<<b<<endl;
A.0xff,017
B.ff,17
C.255,15
D.255,17
answer:C
c++
int a=0xff;
int b=017;
cout<<a<<","<<b<<endl;
A.0xff,017
B.ff,17
C.255,15
D.255,17
answer:C