【单选题】【消耗次数:1】
在执行inta[][3]={{1,2},{3,4}};语句后a[1][2]的值是()
3
4
0
2
参考答案:
复制
纠错
相关题目
【单选题】 已知inta[4][4]={{1,2},{3},{4},{1,2,3}};问a[2][0]该元素的值是()
①  2
②  3
③  4
④  1
【单选题】 有定义语句“int a[][3]={1, 2, 3, 4, 5, 6};”,则a[1][0]的值是____。
①  4
②  1
③  2
④  5
【单选题】 a=(1,2,3);语句执行后,a的值是()
①  是0
②  是2
③  是3
④  是1
【单选题】 设:inta=1,b=2,c=3,d=4,m=2,n=2;执行(m=a>b)&&(n=c>d)后n的值为()。
①  1
②  2
③  3
④  4
【单选题】 这条旋律 “3 4 | 5 6 2 3 | 4 - 1 2 | 3 3 2 2 | 2 1 ||”的节拍为( )
①  2/4
②  3/4
③  4/4
【单选题】 以下程序段运行后s的值是()。inta[3][3]={1,2,3,4,5,1,2,3,4};inti,j,s=1;for(i=0;ii++)for(j=i+1;jj++)s+=a[i][j];
①  6
②  120
③  7
④  240
【单选题】 假定一个类的构造函数为“B(intax,intbx):a(ax),b(bx){}”,执行“Bx(1,2),y(3,4);x=y;”语句序列后x.a的值为()
①  1
②  2
③  3
④  4
【单选题】 假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[1][2]的值为?
①  2
②  4
③  6
④  8
【单选题】 假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[1][2]的值为?
①  2
②  4
③  6
④  8
【单选题】 假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[1][2]的值为(???)。
①  2
②  4
③  6
④  8
随机题目
【判断题】 She goes to work from Monday to Saturday.
①  正确
②  错误
【判断题】 A: Who is the boy? B: He is a student.
①  正确
②  错误
【判断题】 A: Whats the date today? B: Its April 1st.
①  正确
②  错误
【单选题】 She [填空] TV alone.
①  watches
②  watch
③  watching
④  watched
【单选题】 It [填空] me some timeto make a plan.
①  take
②  takes
③  took
④  taking
【单选题】 How about [填空] cakes? ---Thank you.
①  some
②  any
③  many
④  little
【单选题】 How many [填空] can I take?
①  rice
②  cakes
③  water
④  coffee
【单选题】 Would you like some crisps?[填空].
①  No, I don't
②  Yes, I do
③  Yes, please
④  No, please
【单选题】 Some [填空] are swimming in the river.
①  child
②  boy
③  boys
④  childs
【判断题】 A: Hello! Are you John Smith? B: Yes, I am.
①  正确
②  错误