[单选题]

设有如下的用户定义类型:

Type Student

number As String

name As String

age As Integer

E.nd Type

则以下正确引用该类型成员的代码是( )。

A.

B.

C.

D.

参考答案与解析:

相关试题

设有如下的用户定义类型:Type Student number As Strin

[单选题]设有如下的用户定义类型: Type Student number As String name As string age As Integer End Type 则以下正确引用该类型成员的代码是______。A. Student name="李明”B.Dim s As Student s.name="李明"C.Dim s As Type Student s.name="李明"D.Dim s As Type s.name="李明"

  • 查看答案
  • 没有如下的用户定义类型:Type Student number As Strin

    [单选题]没有如下的用户定义类型:Type Studentnumber As Stringname As Stringage AS IntegerE.nd Type则以下正确引用该类型成员的代码是( )。 A.Student. name="李明"B.Dim s As StudentS. name="李明"C.Dim s As Type StudentS. name="李明"D.Dim s As TypeS. name="李明

  • 查看答案
  • ( 14 )设有如下的用户定义类型:Type Studentnumber As

    [单选题]( 14 )设有如下的用户定义类型:Type Studentnumber As Stringname As Stringage As IntegerE.nd Type则以下正确引用该类型成员的代码是A. ) Student.name = " 李明 "B. ) Dim s As Students.name = " 李明 "C. ) Dim s As Type Students.name = " 李明 "D. ) Dim s As Types.name = " 李明 "

  • 查看答案
  • 设有如下的记录类型Type Student numberAs string na

    [单选题]设有如下的记录类型Type StudentnumberAs stringname As Stringage As IntegerE.nd Type则正确引用该记录类型变量的代码是( )。A. Student.name="张红"B. Dim s As Students.name="张红"C. Dim s As Type StudentD. Dim s As Types.name="张红" s.Dame="张红"

  • 查看答案
  • ( 13 )有如下用户定义类型及操作语句:Type StudentSNo As

    [试题]( 13 )有如下用户定义类型及操作语句:Type StudentSNo As StringSName As StringSAge As IntegerE.nd TypeD.im Stu As StudentWith Stu. SNo = "200609001 ”.SName = ” 陈果果 ”.Age 二 19E.nd With执行 MsgBox Stu.Age 后,消息框输出结果是 ( 13 ) 。

  • 查看答案
  • 有如下用户定义类型及操作语句: Tyoe Student SNo As Stri

    [主观题]有如下用户定义类型及操作语句: Tyoe Student SNo As String Sname As String SAge As Integer End Type Dim Stu As Student With Stu SNo=”200609001” SName=”陈果果“ A ge=19 End With 执行MsgBox Stu,Age 后,消息框输出结果是 (13)

  • 查看答案
  • 设有如下的记录类型:Type StudentNumber As StringNa

    [单选题]设有如下的记录类型: Type Student Number As String Name As String Age As Integer End Sub 则能正确引用该记录类型变量的代码是( )。A.Student.name=""B.Dim s As Students.name=“张红”C.Dims As Tye Students.name=“张红”D.DimsAsTypes.name=“张红”

  • 查看答案
  • 有如下语句:Type Student Name As String Age As

    [单选题]有如下语句: Type Student Name As String Age As Integer Sex As String End Type Dim Stu As Student With Stu .Name="张红" .Age=22 .Sex="女" End With 执行Print Stu.Age语句后的结果是A.张红B.22C.“女”D.Age

  • 查看答案
  • 假设有如下的记录类型:Type Studentnumber As Stringn

    [单选题]假设有如下的记录类型: Type Student number As String name AS String age As Integer End Type 则正确引用该记录类型变量的代码是______。A.Student. name="" s. name="张红"B.Dim s As Student s. Dame="张红"C.Dim s As Type Student s. name="张红"D.Dim s As Type s. name="张红"

  • 查看答案
  • 设有如下说明typedef struct{ int number; char c

    [单选题]设有如下说明typedef struct{ int number; char class;double score;}student;则以下选项中,能正确定义结构体数组并赋初值的语句是( )。A.student tt[2]={{189,’A’,62},{190,’B’,75}};B.student tt[2]={189,’"A",62,190,"B",75};C.struct tt[2]={{189,’A’},{190,’B’}};D.struct tt[2]={{189,"A",6

  • 查看答案
  • 设有如下的用户定义类型:Type Student number As Strin