Q. When “struct” is used instead of the “class” keyword, will anything change in the program?
β
Correct Answer: (A)
Access is public by default
Explanation: For structures, by default, all members (data and functions) are public.