c**********e 发帖数: 2007 | 1 【 以下文字转载自 JobHunting 讨论区 】
发信人: careerchange (Stupid), 信区: JobHunting
标 题: C++ Q90 - Q92
发信站: BBS 未名空间站 (Fri Oct 14 23:32:13 2011, 美东)
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 |
|