下列程序段的输出结果是( )。void main( ){char a[ ]="welcome you!";a[4]='\0';printf("%s\n",a);}
A: welc
B: welcome
C: welcome you
D: welcome you!
A: welc
B: welcome
C: welcome you
D: welcome you!
举一反三
- 下列程序段的输出结果是____。main(){ char b[]="Hello,you";b[5]=0;printf("%s\n",b);}
- Welcome to our school._______. A: Thank you B: You’re welcome C: Sorry D: That’s right
- 有声名char str[ ] = {"Welcome!"}; ,在程序中执行语句printf(“%s”,str+3);后输出为__________。 A: Welcome! B: Wel C: come D: come!
- unit five listening part A[音频] A: you're welcome B: i'm very pleased C: it's my pleasure D: not at all
- ( )。下列程序段的输出结果是()。main( ){ char b[ ]="Hello,you"; b[5]='\0'; printf("%s\n",b);} A: Hello B: Hello,you C: Hello0you D: Hello,