题海让大学四年没有难题
白天模式登陆

题目详情

单选题 以下程序段的输出结果为(). #include <iostream> using namespace std; int main() { char c[]="defg"; int i=0; do {;} while(c[i++]!='\0'); cout<<(i+1)<<endl; system("pause"); return 0; }

A. e

B. d

C. 2

D. 6

默认课程课程封面

学科:默认课程

时间:2025-12-01 00:42:07

Copyright © 2022 津ICP备2021001502号