单选题 有如下程序:
#include<iostream.h>
class Base

protected:int i;
public:int j;
;
class Derived:public Base

int m;
public:int n;

int main()

Derived d;
d.i=0; //[1]
d.j=0; //[2]
d.m=0; //[3]
d.n=0; //[4]
return 0;

其中主函数中有两个赋值语句有错,这两个错误的赋值语句是( )。

【正确答案】 B
【答案解析】