请教——Ulf是aggressive吗?# pets - 心有所宠
c*e
1 楼
C++ Q90: class templates
What type of class template can be nested?
A. Only non-template classes
B. Only class templates
C. Both class templates and non-template classes
D. Neither class templates nor non-template classes
C++ Q91: this pointer
Which one of the following operations requires explicit use of a this
pointer?
A. Calling a member function that requires a pointer to that object from
another member function in the same object
B. Calling a global function that requires a pointer to that object from a
member function
C++ Q92: function templates and overloading
Multiple choice: Identify what formal type parameters are used for.
A. To specify the argument types to a function template
B. To instantiate a function template
C. To specify the return type of a function template
D. To declare variables within the function template body
What type of class template can be nested?
A. Only non-template classes
B. Only class templates
C. Both class templates and non-template classes
D. Neither class templates nor non-template classes
C++ Q91: this pointer
Which one of the following operations requires explicit use of a this
pointer?
A. Calling a member function that requires a pointer to that object from
another member function in the same object
B. Calling a global function that requires a pointer to that object from a
member function
C++ Q92: function templates and overloading
Multiple choice: Identify what formal type parameters are used for.
A. To specify the argument types to a function template
B. To instantiate a function template
C. To specify the return type of a function template
D. To declare variables within the function template body