#include "stdio.h" class Counter { public: void Count() { printf("%d", 1); } }; int main() { Counter obj; obj.Count(); return 0; } void Counter::Count() { printf("%d", 2); }
Counter::Count
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment