adplus-dvertising
frame-decoration

Question

When struct is used instead of the keyword class means, what will happen in the program?

a.

access is public by default

b.

access is private by default

c.

access is protected by default

d.

none of the mentioned

Answer: (a).access is public by default

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. When struct is used instead of the keyword class means, what will happen in the program?