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

Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 26)
26.
If you create an instantiation of a class template with an int, and then create a second instantiation with a double, then
you must precede each function call with the word int or double
once a function is used as one type, it becomes unavailable for use with the other type
there is no difference in the procedure to call a member function
you cannot perform this operation in C++
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Pradeep said:   4 years ago
Explain the solution.

Alka said:   7 years ago
What is instantiation?

Subhashini said:   1 decade ago
How can we say that it must precede with int and double?

Explanation please.

Post your comments here:

Your comments will be displayed after verification.