Class and Objects

C++  supports  both  classes and structures.    Which of the following statements is FALSE in respect of both of them? Both can have variables and functions as members. In both, the members are private by default. They support inheritance. Their names can be used like any other types names. In a class definition, the members declared as private are accessible only to the public functions of the class to any function in the program only to functions declared as private to all member functions of the class By default, member functions…

Read More