Q. Which of the following statements are true in c++? (Solved)

1. Classes cannot have data as public members.

2. Structures cannot have functions as members.

3. Structures cannot have functions as members.

4. None of these.

  • b. Structures cannot have functions as members.
Subscribe Now

Get All Updates & News