Dim a AsInteger,当a=123:b=Str(a),则()A、a和b均是字符型变量B、a是字符型变量,b是数值型变量C、a是数值型变量,b是字符型变量D、a和b均是数值型变量
Dim a AsInteger,当a=123:b=Str(a),则()
- A、a和b均是字符型变量
- B、a是字符型变量,b是数值型变量
- C、a是数值型变量,b是字符型变量
- D、a和b均是数值型变量
相关考题:
关于字符串连接,下面语法正确的是() A. str := ‘abc’ + ‘123’B. str := "abc" + "123"C. str := '123' + "abc"D. fmt.Sprintf("abc%d", 123)
下列表达式的值为2123的是( )。A. Val("123asd")2000B. Val("123asd")+2000C. Str(123)&"2000"D. Str(123)+"2000"
执行下面的程序,单击窗体后在窗体上显示的结果是 ______。Private Sub form_ Click() Dim Str1 As String, Str2 As String Dim Str3 As String, I As Integer Str1 = "e" for I = t To 2 Str2 = Ucase (Str1) Str1 = Str2 Str1 Str3 = Str3 Str1 str1 = Chr (Asc(Str1) + I) Next I Print Str3End SubA.EeFFB.eEfFC.EEFFD.eeFF
有如下程序段: Dim str As String*10 Dim i Strl="abcdefg" i=12 lenl=Len(i) str2=Right(str1,4) 执行后,len1和str2的返回值分别是______。A.12,abcdB.10,bcdeC.2,defgD.0,cdef
在JavaScript中,把字符串“123”转换为整型值123的正确方法是( )。 A.var str="123";var num=(int)str;B.var str="123";var num=str.parseInt(str);C.var str="123";var num=parseInt(str);D.var str="123";var num=Integer.parseInt(str);
有如下程序段: Dim str As String * 10 Dim i str1 = "abcdefg" i = 12 len1 = Len(i) sir2 = Right(str1, 4)执行后,len1和str2的返回值分别是( )。A.12,abcdB.10,bcdeC.2,defgD.0,cdef
有如下程序段: Dim str As String*10 Dim i Str1="abcdefg" i=12 len1=Len(i) str2=Right(str1,4) 执行后,len1和str2的返回值分别是______。A.12,abcdB.10,bcdeC.2,defgD.0,cdef
以下代码,哪个结果是正确的?( )var str='123abc';str += str.replace('abc' , '');alert(str); A.123abc123B. 123abcC.123D. abc
下述代码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”
下列表达式的值为2123的是()。A、 Val("123") 2000B、 Val("123") + 2000C、 Str("123") 2000D、 Str("123") + "2000"
要声明一个长度为256个字符的定长字符串变量str,下列语句正确的是()A、dim str as stringB、dim str as string(256)C、dim str as string[256]D、dim str as string*256
单选题下述代码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”
单选题以下代码,哪个结果是正确的?() var str='123abc'; str += str.replace('abc' , ''); alert(str);A123abc123B123abcC123Dabc
单选题有以下程序:#include int disp(char *str){ while(*str) putchar(*str++); putchar('#'); return *str;}main(){ printf(%d,disp(C##123));}程序运行后的输出结果是( )。AC##123#0BC##1230CC##0DC##123#\0