题目内容

有如下程序: #nclude<iostremn> using namespace std; class Stack{

A. 4,3,2,1
B. 4,3,6,7,2,1
C. 4,3,6,2,1
D. 1,2,3,4

查看答案
更多问题

在下面的类定义中,横线处应填入的内容是 class Fred { public:

A. int
B. static int
C. int Fred::
D. static int Fred::

有如下程序: #include<iostream> using namespace std; class Base

A. [1]和[2]
B. [1]和[3]
C. [2]和[3]
D. [2]和[4]

下列函数中对调用它的函数没有起到任何作用的是

A. void f1(double&x){--x;)
B. double f2(double x){return x-1.5;)
C. void f3(double x){--x;)
D. double f4(double *x){--*x;retum *x;}

A.personB.personnelC.human beingD.persons

A. person
B. personnel
C. human being
D. persons

答案查题题库