Question: Which of the following statements is correct in C++?
[A]. Classes cannot have data as protected members.
[B]. Structures can have functions as members.[C]. Class members are public by default.
[D]. Structure members are private by default.
[B]. Structures can have functions as members.[C]. Class members are public by default.
[D]. Structure members are private by default.
Answer: Option B