Quiz
Untitled
This quiz has question types that open in the usual player.
Questions in this quiz (6)
1The "this" pointer [blank_start]___[blank_end].
- Apoints to the object calling a function
- Bpoints to the function
- Cis an explicit parameter
2The "const" member function does not modify its calling object.
- ATrue
- BFalse
3There is only one instance of a static member variable variable for the entire class.
- ATrue
- BFalse
4Static member variables:
- AMust be declared in the class and defined outside of the class.
- BMust be declared outside of the class and defined inside of the class.
- CDoes not have to be declared or defined.
5The friend function:
- AIs a function that is not necessarily a member of another class but that has access to private members of the class.
- BIs a function that is public to all classes.
- CCannot be a stand-alone function.
6A copy constructor is called when:
- AAn object is initialized from an object of the same class
- BAn object is passed by value to a function
- CAn object is returned using a "return" statement
- DA default constructor is called
Information
- Description
- Quiz on Untitled, created by Matt Iudean on 10/12/2021.
- Author
- Matt Iudean
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz