有基类如下:class BASE{private: int x,y;public: BASE(int x,int y){this->x=x;this->y=y;} void set(int x1,int y1) { x=x1; y=y1; } ...};设DERIV为BASE的公有派生类,则下列哪个DERIV的构造函数对基类成员的初始化是正确的?
A.
DERIV( int x, int y ) { BASE(x , y) ; ... }
B.
DERIV( int x1, int y1 ){ x=x1; y=y1; ... }
C.
DERIV( int x, int y ) : BASE( x , y ) { ... }
D.
DERIV( int x, int y ) {set(x1,y1); ... }