网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
S= “123” + “246” 的结果是()
A
369
B
“369”
C
“123246”
D
123456
参考答案
参考解析
解析:
暂无解析
更多 “单选题S= “123” + “246” 的结果是()A 369B “369”C “123246”D 123456” 相关考题
考题
在窗体中添加一个命令按钮,然后编写如下程序:Private Sub Command1_Click()Dim a As Integer, b As Integera=InputBox(“Enter the Firstinteger”)b=InputBox(“Enter the Secondinteger”)Print b+aEnd Sub程序运行后,单击命令按钮,先后在两个输入框中分别输入123和123,则输出结果是( )。A.246B.123C.456D.123123
考题
有以下程序void swap(char *x,char *y){ char t;t=*x; *x=*y; *y=t;}main(){ char *s1="abc",*s2="123";swap(s1,s2);printf(" % s, % s\n",s1,s2);}程序执行后的输出结果是A)123,abcB)abc,123C)1bc,a23D)321,cba
考题
( 34 )有如下程序:#includeiostream#includeiomanipUsing namespace std;int main(){int s[]={123, 234};coutrightsetfill('*')setw(6);for(int i=0; i2; i++) { couts[i]endl; }return 0;}运行时的输出结果是A ) 123 234B ) ***123 234C ) ***123 ***234D ) ***123 234***
考题
以下程序的输出结果是()。main(){char s[]="123",*p;p=s;printf("%c%c%c\n",*p++,*p++,*p++);}
A. 123B. 321C. 213D. 312
考题
importjava.util.*;classScanStuff{publicstaticvoidmain(String[]args){Strings=x,yy,123;Scannersc=newScanner(s);while(sc.hasNext())System.out.print(sc.next()+);}}结果是什么?()
A.xyyB.x,yyC.xyy123D.x,yy,123
考题
以下程序的输出结果是【】。 include include void main 0 { char s[50]; st
以下程序的输出结果是【 】。include<iostream.h>include <string.h>void main 0 {char s[50];strcpy(s[O], "No" );strcpy(s[1], "123" );strcpy (s[2], "23456" );cout<<s;}
考题
下列事件过程:Private Sub Command1_ Click() MsgBox Str (123+123)End Sub运行时,信息框中出现的结果是______。A.123+123B.123C.246D.显示出错信息
考题
执行下列程序时输入:123456789,输出结果是______。 mein(){char s[100]; int c
执行下列程序时输入:123<空格>456<空格>789<回车>,输出结果是______。 mein() { char s[100]; int c, i; scanf("% c", C) ; scanf("% d", i); scanf("% s", s); printf("% c, % d, % s\n", c, i, s); }A.123, 456, 789B.1, 456, 789C.1, 23, 456, 789D.1, 23, 456
考题
以下程序的输出结果是()includemain(){chars1[]="123",s2[]="abc",ss[20]="010";strc
以下程序的输出结果是 ( ) #include<string.h> main() {char s1[]="123",s2[]="abc",ss[20]="010"; strcat(ss+1,strcpy(s2,s1)); printf("%s\n",ss); }A.10123B.0abcC.1123D.01abc
考题
设x="l23",y=123,k="Y",表达式x+k的值是( )。 A.123123B.246C.123ySX
设x="l23",y=123,k="Y",表达式x+k的值是( )。A.123123B.246C.123yD.数据类型不匹配
考题
有如下程序:includeincludeusing namespace std;int main( ){int S[ ]={12
有如下程序: #include<iostream> #include<iomanip> using namespace std; int main( ){ int S[ ]={123,234}; cout<<right<<setfill('*')<<setw(6); for(int i=0;i<2;i++){COUt<<s[i]<<endl;} return 0; } 程序的输出结果是A.123 234B.***123 234C.***123 ***234D.***123 234***
考题
下列程序段的输出结果是( )。 ACCEPT TO A IF A=[123] S=0 ENDIF S=1 ?SA.0B.1SX
下列程序段的输出结果是( )。 ACCEPT TO A IF A=[123] S=0 ENDIF S=1 ?SA.0B.1C.123D.由A的值决定
考题
下述代码A和B正确的值是() Dim X As String = "123" Dim Y As Integer = 123 Dim A As String = X + Y Dim B As String = X YA“246”,“123123”B246,“123123”C“123123”,“123123”D123123,“123123”
考题
下述代码A和B正确的值是() Dim X As String = "123" Dim Y As Integer = 123 Dim A As String = X + Y Dim B As String = X YA、“246”,“123123”B、246,“123123”C、“123123”,“123123”D、123123,“123123”
考题
有以下程序 void swap(Char *x,Char *y) {Char t; t=*x;*x=*y;*y=t; } main( ) {Char *s1=”abc”,*s2=”123”; swap(sl,s2); printf(”%s,%s/n”,s1,s2); } 程序执行后的输出结果是()A、abe,123B、123,abcC、321,cbaD、1bc,a23
考题
单选题有以下程序 void swap(Char *x,Char *y) {Char t; t=*x;*x=*y;*y=t; } main( ) {Char *s1=”abc”,*s2=”123”; swap(sl,s2); printf(”%s,%s/n”,s1,s2); } 程序执行后的输出结果是()A
abe,123B
123,abcC
321,cbaD
1bc,a23
考题
单选题import java.util.*; class ScanStuff { public static void main(String [] args) { String s = "x,yy,123"; Scanner sc = new Scanner(s); while (sc.hasNext()) System.out.print(sc.next() + " "); } } 结果是什么?()A
x yyB
x,yyC
x yy 123D
x,yy,123
考题
单选题下述代码A和B正确的值是() Dim X As String = "123" Dim Y As Integer = 123 Dim A As String = X + Y Dim B As String = X YA
“246”,“123123”B
246,“123123”C
“123123”,“123123”D
123123,“123123”
考题
单选题有以下程序: #include main() { ints[3][2]={1,2,3,4,5,6},*ps[3],k; for(k=0;k3;k++) { ps[k]=s[k]; printf("%d",*(ps[k]+1)); } } 程序的运行结果是( )。A
246B
135C
123D
456
考题
单选题有以下程序
#include
voidswap(char*x,char*y)
{
chart;
t=*x;
*x=*y;
*y=t;
}
main()
{
char*s1,*s2;
chara[]=abc;
charb[]=123;
s1=a;
s2=b;
swap(s1,s2);
printf(%s,%s,s1,s2);
}
程序执行后的输出结果是( )。A
1bc,a23B
abc,123C
123,abcD
321,cba
热门标签
最新试卷