![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
Q. |
Which of the following statements are true in c++? |
A. | Classes cannot have data as public members. |
B. | Structures cannot have functions as members. |
C. | Structures cannot have functions as members. |
D. | None of these. |
Answer» B. Structures cannot have functions as members. |
View all MCQs in
Object Oriented Programming with C++ (OOP in C++)No comments yet