题目内容

请将下列程序按注释部分的要求补充完整。#include int main(){char name[20];cout<<”Hello,your name:”;//在下画线处填上语句,完成将字符串输入到数组name中____________cout<

查看答案
更多问题

给出下面程序输出结果是:_______________。#include #include #include bool fun(long n); void main() { long a=10,b=30,l=0; if(a%2==0) a++; for(long m=a;m<=b;m+=2) if(fun(m)) { if(l++%10==0) cout <

下面程序的输出结果为_______________。#include void main(){int num=2,i=6;do{i--; num++;}while(--i); cout<

C++语言中使用了新的注释符(//), C 语言中注释符(/* … */ )不能在C++语言中使用.

A. 对
B. 错

switch语句中的default 关键字,只能放在该语句的末尾,不能放在开头或中间.

A. 对
B. 错

答案查题题库