1

What is the difference between struct and class in terms of Access Modifier?

Correct Answer: by default all the struct members are public while by default class members are private.

Make the most of this question

This page focuses on one Object Oriented Programming (OOP) question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

Object Oriented Programming (OOP) MCQ: What is the difference between struct and class in terms of Access Modifier? | Extra Education