若有定义:int x=1234,y=123,z=12;则语句printf(“%4d+%3d+%2d”,x,y,z);运行后的输出结果为() A.123412312B.12341234123412341231231231212C.1234+1234+1234D.1234+123+12
若有定义:int x=1234,y=123,z=12;则语句printf(“%4d+%3d+%2d”,x,y,z);运行后的输出结果为()
A.123412312
B.12341234123412341231231231212
C.1234+1234+1234
D.1234+123+12
相关考题:
设有如下定义: int x=10,y=3,z; 则语句printf("%d\n",z=(x%y,x/y)); 的输出结果是( )。A.1SX 设有如下定义: int x=10,y=3,z; 则语句printf("%d\n",z=(x%y,x/y)); 的输出结果是( )。A.1B.0C.4D.3
5、若w,x,y,z均为int型变量,则为了使以下语句的输出为:1234+123+12+1,正解的输入形式应当是() scanf("%4d+%3d+%2d+%1d",x,y,z,w ); printf("%4d+%3d+%2d+%1d\n",x,y,z,w);A.1234123121<回车>B.1234123412341234<回车>C.1234+123+12+1<回车>D.1234+1234+1234+1234<回车>