1.Data members ofa class are by default public.
2.Data members of a class are by default private.
3.Member functions ofa class are by default public.
4.A private function of a class can access a public function within the same class.
5.Member function of a class are by default private.
A. 1, 3, 5
B. 1, 4
C. 1, 4, 5
D. 1, 2, 3
E. None of these
Answer: Option C
2.Data members of a class are by default private.
3.Member functions ofa class are by default public.
4.A private function of a class can access a public function within the same class.
5.Member function of a class are by default private.
A. 1, 3, 5
B. 1, 4
C. 1, 4, 5
D. 1, 2, 3
E. None of these
Answer: Option C