1.7 Consider the following class definition
class Person
{}
;
class Student: protected Person
{}
;W
hat happens when we try to compile this class?
A) Will not compile because class body of Person is not defined.
B) Will not compile because class body of Student is not defined.
C) Will not compile because class of Person is not public inherited.
D) Will compile successfully.
Consider the following class definition
July 8, 2021 in C and CPP