adplus-dvertising
frame-decoration

Question

A struct is the same as a class except that

a.

there are no member functions

b.

all members are public

c.

cannot be used in inheritance hierarchy

d.

it does have a this pointer

Answer: (c).cannot be used in inheritance hierarchy

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A struct is the same as a class except that