题目内容

若有以下程序: #include <iostream> using namespace Std; int main() int i ; int a[3] [3] = ’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’; for(i=0;i<3;i++) cout<<a[i] [1]<<" "; cout<<end1; return 0; 执行后的输出结果是( )。

A. 50 53 56
B. 49 52 55
C. 2 5 8
D. 1 4 7

查看答案
更多问题

有如下程序: #include <iostream> using namespace std; int b=3; int fun(int *k) int b=2; b=*(k++)*b; return(B) ; int main() int a[ ];11,12,13,14,15,16); b=fun(&a[1])*b; cout<<b<<end1; return 0; 程序执行后的输出结果是( )。

A. 24
B. 72
C. 11
D. 33

有以下程序: #include <iostream> #include <fstream> using namespace std; int main() ofstream ofile("D:\\test.txt"); if(!ofile) cout<<"test.txt can’t open"<<end1; return 0; ofile<<"This book is C++"<<" "<<12345<<end1; ofile.close(); ifstream ifile("D:\\test.txt"); if ( ! ifile) cout<<"test.txt can’t open"<<end1; return 0; char str[80]; ifile>>str; ifile.close(); cout<<str<<end1; return 1; 程序执行后的输出结果是 【15】 。

抛丸除锈的特点是能使钢材表面清理的均匀,抛丸以后可提高材料80%的抗疲劳强度和1倍的抗腐蚀应力,对材料的表面硬度也有一定程度的提高,但是劳动条件恶劣,生产效率低下。( )

A. 对
B. 错

喷射法是以较低浓度的清洗液进行强烈喷射,因而希望清洗液的起泡性小,不宜采用易起泡的阴离子型表面活性剂,也可完全不加活性剂,清洗液温度控制在60℃以上,喷射压力为0.1~0.4MPa。( )

A. 对
B. 错

答案查题题库