![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
下面程序的输出结果为()。#include<iostream.h>class CStatic{public:CStatic(){val++;}static in
下面程序的输出结果为()。 #include<iostream.h> class CStatic { public: CStatic(){val++;} static int val; }; int CStatic::val=0; void main() { CSatic cs1; cout<<cs1.val<<""; CStatic cs2; CStatic cs3,cs4; cout<<cs2.val<<endl; }
A.14
B.24
C.34
D.54
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)