(单选题)15: 设有如下的类型声明 Type Person name As String*8 major As String*20 End Type 当单击“保存”按钮时,将两个文本框中的内容写入一个随机文件Test29.dat中。设文本框中的数据已正确地赋值给Person类型的变量p。则能够正确地把数据写入文件的程序段是
A: "open”c:\Test29.dat"" For Random As#1 Put #1,1,p Close #1 "
B: "open ""c:\Test29.dat"" For Random As #1 Get#1,1,p C10se #1 "
C: "open ""c\Test29.dat"" For Random As #1 Len=Len(p) Put #1,1,p Close #1 "
D: "Open ""c:\Test29.dat "" For Random As #1=Len(p) Get #1,1,p CloSe #1 "
(责任编辑:admin)要这答案加QQ:800020900 或加微信:vq800020900 获取