1.  >>  河南成教 / 面向对象程序设计
 河南成教 / 面向对象程序设计


25[分析题]
#include <iostream.h>int a[ 10 ] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };int fun( int i );void main(){ int i ,s = 0;     for( i = 0; i <= 10; i )     { try       { s = s fun( i ) ; }        catch( int )           { cout << "数组下标越界!" << endl; }       }        cout << "s = " << s << endl;}int fun( int i ){  if ( i >= 10 )        throw i ;         return a[i] ;}
 参考答案:
 佳题速递:
  • A.A B.B C.C D.D土木工程计算机软件应用
  • 中国居民膳食营养素参考摄入量(2013 修订版)建议18~49岁从事轻体力劳动的成年人能量需要量是: 临床营养学
  • 10[填空题] 传染病的预防包括 ( )、切断传播途径和易感人群传染病学
  • 7[单选题] 下列建设项目财务评价指标中,属于动态指标的是 A.投资利润率 B.资产负债率 C.净现值 D.借款偿还期安装工程概预算
  • 5[单选题] A sentence is a _________ concept, and the meaning of a sentence is often studied in isolation. A.pragmaticc B.grammaticall C.mentall D.conceptual英语语言学
  • [填空题] Generally speaking, ______ do not change part of speech of the stems but their meaning, whereas ______ do.英语词汇学