Computer Science - Object Oriented Programming Using C++ - Discussion
|
|
|
|
Read more:"In the middle of difficulty lies opportunity."
- Albert Einstein
|
| 5. |
When two types are used in a function template and one is labeled T, the other |
| [A]. |
must also be named T | | [B]. |
must be named U | | [C]. |
can be any legal C++ identfier | | [D]. |
it is illegal to have two types |
Answer: Option C
Explanation:
No answer description available for this question.
|
|
Omar Othman said:
(Mon, Nov 14, 2011 07:11:13 PM)
|
|
| |
| This is wrong, the correct thing is C. More correct is to say (can be any legal C++ identfier other than T). |
|
|