Which one of the following is a default constructor? A. class star { private: int a; public: star(int a) { a=0; } }
B. class star { private: int a; public: star() { a=0; } } C. class star { private: int a,b; public: star(int a,int b) { a=0; b=0; } }
Reveal answer
Fill a bubble to check yourself