Beginner
C++
Q12 / 100
What keyword is used to define a class in C++?
Correct! Well done.
Incorrect.
The correct answer is C) class
C
Correct Answer
class
Explanation
The class keyword defines a class. The main difference from struct is that class members are private by default.
Progress
12/100