我接受了以下面试问题:
class A { public: void fun() { std::cout << "fun" << std::endl; } }; A* a = NULL; a->fun();
执行此代码时会发生什么,为什么?
c++
c++ ×1