单项选择题

已知有数组定义 char a[3][4]; 下列表达式中错误的是

A.a[2]="WIN"
B.strcpy(a[2],"WIN")
C.a[2][3]='W'
D.a[0][1]=a[0][1]
<上一题 目录 下一题>
热门 试题

单项选择题
要建立文件流并打开当前目录下的文件file.dat用于输入,下列语句中错误的是
A.ifstream fin=ifstream.open(“file.dat”);
B.ifstream*fir=new ifstream(“file.dat”);
C.ifstream fin;fin.open(“file.dat”);
D.ifstream*fin=new ifstream( );fin->open(“file.dat”);
单项选择题
支持子程序调用的数据结构是
A.栈
B.树
C.队列
D.二叉树
相关试题
  • 有如下类定义: class XX{ int xx; ...
  • 有如下程序: #include<iostream> usi...
  • C
  • 如下程序的输出结果是 #include<iostrea...
  • 如下程序的输出结果是 #include<lostrea...