🎴 Flashcard Mode
Computer Basics (C++)
Card1 / 25
Mastered0
Review0
QuestionClick to flip
In C++, a function contained within a class is called ______.
AnswerClick to flip back
A
a member function
💡 Explanation:
A member function is a function that is defined within a class scope. These functions operate on objects of the class and can access private and protected members. Member functions define the behavior and operations that objects of the class can perform.