Which of the following is correct in C++?

Question:Which of the following is correct in C++?

1.Classes cannot have protected data members

2.Structures can have member functions

3.Class members are public by default

4.Structure members are private by default


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!