若有以下程序: #include<iostream> using namespace Std; Class Base {public: Base() {x=0;} int x;}; class Derivedl:virtua1 public Base {public: Derived1() {x=10;}}; class Derived2:virtual1 public Base {public: Derived2() {x=20;}}; class Derived:public Derivedl,protected Derived2{ }; int main() {Derived obj; cout<<obj.x<<end1; return 0;} 该程序运行后的输出结果是( )。
A.20
B.30
C.10
D.0