【单选题】有如下程序: #include using namespace std; int i = 1; class Fun{ public: static int i; int value(){return i – 1;} int value() const {return i + 1;} }; int Fun::i = 2; int main() { int i = 3; Fun fun1; cons...
【简答题】有如下程序:
#include
using namespace std;
int i = 1;
class Fun{
public:
static int i;
int value(){return i – 1;}
int value() const {return i + 1;}
};
int Fun::i = 2;
int main()
{
int i = 3;
...