Computer Science - Object Oriented Programming Using C++ - Discussion

Discussion Forum : Object Oriented Programming Using C++ - Section 6 (Q.No. 5)
5.
When two types are used in a function template and one is labeled T, the other
must also be named T
must be named U
can be any legal C++ identfier
it is illegal to have two types
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Omar Othman said:   1 decade ago
This is wrong, the correct thing is C. More correct is to say (can be any legal C++ identfier other than T).

Vaibhav said:   8 years ago
The correct answer should be 'C'.

Mayank gupta said:   8 years ago
The answer should be 'C'.

Post your comments here:

Your comments will be displayed after verification.