Answer:Consider the following code segment:
1: template <class temp1, temp2>
2: void show(temp1 a, temp2 b)
3: {
4: cout<<”a”;
5: }
Assume that there is no logic error. Identify if there is any declaration error:
Options
a) Line1
b) Line 4
c) Both a and b
d) No error
Answer : a) Line1