【单选题】【消耗次数:1】
假定有一个元素类型为double的二维数组为a[4][6],其中a[2][5]元素的字节地址为( )。
(char*)a+24
(char*)a+136
(char*)a+192
(char*)a+10
参考答案:
复制
纠错
相关题目
【单选题】 假定有一个元素类型为double的二维数组为a[4][6],其中a[2][5]元素的字节地址为( )。
①  (char*)a+24
②  (char*)a+136
③  (char*)a+192
④  (char*)a+10
【单选题】 若已有char b[10][50];则该二维字符数组在内存所占字节数为()
①  10
②  50
③  60
④  500
【单选题】 已知二维数组A10×10中,元素a20的地址为560,每个元素占4个字节,则元素a10的地址为( )。
①  520
②  522
③  524
④  518
【单选题】 假定有“struct BOOK{char title[40];float price;} book;”,则正确的语句为( )。
①  struct BOOK x=
②  struct BOOK *x=
③  struct BOOK x=calloc(BOOK);
④  struct BOOK *x=BOOK;
【单选题】 假定有“struct BOOK{char title[40];float price;} book;”,则正确的语句为( )。
①  struct BOOK x=
②  struct BOOK *x=
③  struct BOOK x=calloc(BOOK);
④  struct BOOK *x=BOOK;
【单选题】 假定有“char*p=“Hello”;”,若要输出这个字符串的地址值正确的写法为
①  cout*p;
②  cout
③  cout&p;
④  cout (void*)p;
【单选题】 假定有“char*p=“Hello”;”,若要输出这个字符串的地址值正确的写法为
①  cout<<*p;
②  cout<<p;
③  cout<<&p;
④  cout<< (void*)p;
【单选题】 假定一个二维数组的定义语句为“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
随机题目
【单选题】 28. "_____ your meeting is!" he offered them his sincere congratulations.
①  Howagreatsuccess
②  Whatagreatsuccess
③  Howgreatsuccess
④  Whatgreatsuccess
【单选题】 24. Why didnt you tell me there was no meeting today? I _____ all the way here _____the heavy snow.
①  neednthavedriven;though
②  canthavedriven;across
③  mustnthavedriven;through
④  shouldnthavedriven;cross
【单选题】 25.It was the training _______ he had at school _______ made him good jumper.
①  what;what
②  that;that
③  what;that
④  that;had
【单选题】 26. It was _____ great shock to the world that two airplanes crashed into _____ World Trade Centre in New York on Sept.11.
①  a;/
②  the;the
③  a;the
④  /;the
【单选题】 29. We must remember that _____fashion is not the most important thing in _______ life.
①  /;the
②  /;/
③  the;/
④  the;the
【单选题】 22. The two old sisters,_______ so long,held each other and burst into tears.
①  beingseparated
②  havingbeenseparated
③  havingsepartated
④  hadbeensepartated
【单选题】 30. It _____ quite a few years _____ the accused was declared innocent and set free.
①  was;since
②  is;that
③  willbe;when
④  was;before
【单选题】 36._____ their real economic situations, they got some relief fund from the government.
①  Considering
②  Considered
③  Havingbeenconsidered
④  Beingconsidered
【单选题】 35.No matter how frequently _____ the works of Beethoven always attract a large number of people.
①  performing
②  performed
③  tobeperformed
④  beingperformed
【单选题】 38. In recent years much more emphasis has been put______ developing the students productive skills.
①  onto
②  in
③  over
④  on