How structures and classes in C++ differ?

- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
How structures and classes in C++ differ?

1. In Structures, members are public by default whereas, in Classes, they are private by default

2.In Structures, members are private by default whereas, in Classes, they are public by default

3.Structures by default hide every member whereas classes do not

4.Structures cannot have private members whereas classes can have

Posted Date:-2021-02-19 18:46:56


More MCQS Questions and answers

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!