单项选择题

考虑以下的函数原型:void A(int a,int b=5,char Z='*');下面的函数调用中,不正确的是( )。

A.A(7)
B.A(3,4)
C.16,'#'
D.A(O,2,'*
<上一题 目录 下一题>
热门 试题

单项选择题
C++语言本身没有定义I O操作,但I O操作包含在C++实现中。C++标准库iostream提供了基本的I O类。I O操作分别由两个类istream和( )提供。
A.fstream
B.iostream
C.ostream
D.cin
单项选择题
阅读以下程序 #include<iostream.h> void main() { charline[10]; in>>line; cout<<line<<endl; } 如运行时输入This is an example.<CR>,则程序的输出结果是( )。
A.This
B.This is
C.This is a
D.This is an exampl
相关试题
  • 有以下程序: Class Date { public:...
  • 有如下程序: #include<iostream> usi...
  • 已经语句int m=10;则下列表示引用的表...
  • 类A是类B的友元,类B是类C的友元,则下列说...
  • 将x+y*z中的“+”用成员函数重载,“*...