已收录475621道考试试题

最后更新:2026-01-23

”“ 搜索结果

为您找到相关结果约475621

有下列类定义 #include using namespace std; class Point { public: Point(int a=3,int b=5){ X=a;Y=b;} int GetX(){return X;} int GetY(){return Y;} private: int X,Y;}; 现有语句Point *p=new Point;则与(*p).GetX()等效的表达式是( )
查看更多
print函数声明为void print(int a,char b='b',int c=1); 下面函数调用正确的是(      )
查看更多
有以下语句定义 int x =5; const int * const p = &x; const int &q=x; int const *next=&x; const int *j=&x; 则有语法错误的是( )
查看更多