单项选择题
若已知char str [20];,且有语句cin>>str;,此时输入为“This is a program",则所得的结果是str=( )。
A.This is a program
B.This
C.This is
D.This is a
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
有如下程序段:int x=3,do x-=2;cout<<x;while(!(--x));执行这个程序段的输出结果是( )。
A.1
B.30
C.1-2
D.死循环
点击查看答案
单项选择题
软件开发模型包括( )。 Ⅰ 瀑布模型 Ⅱ 扇形模型 Ⅲ 快速原型法模型 Ⅳ 螺旋模型
A.Ⅰ、Ⅱ、Ⅲ
B.Ⅰ、Ⅱ、Ⅳ
C.Ⅰ、Ⅲ、Ⅲ
D.Ⅱ、Ⅲ、Ⅳ
点击查看答案
相关试题
以下程序中函数scmp功能是返回形参指针s1...
有以下程序:#include <iostream>using...
下面程序的输出结果为( )。#include<i...
有如下程序:#nclude <iostream>using...
模板函数的真正代码是在( )时候产生。