Operating Overloading Flashcards
1
Q
What is a global function
A
Function declared not with a class. Can be used anywhere in the scope( need at least 2 explicitly parameters)
2
Q
Member functions
A
Declared as part of a class and must be #include to be used ( needs at least 1 explicit parameter )
3
Q
Freeing function
A
Function specified outside a class but has access to a class protected and private data
4
Q
Operator <
A
Cannot be a member function beacaus4 you cannot modify the o stream class and making it a member functions requires that