#include <iostream> class A { public: explicit A(int _k = 10) {k = _k;} int k; }; int main() { A a = int(100); std::cout << a.k; }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment