Consider the following function template:
template <class T>
void repeatValue(T val, int times)
{
int x;
for(x = 0; x < times; ++x)
cout<<#<<(x+1)<< <<val<<endl;
}
Which of the following statements is true?
a. No restrictions apply.
b. Any type of object from a user defined class can be displayed the specified number of times.
c. It can be called only with primitive data types.
d. Any type of object can be displayed the specified number of times as long as the << operator is defined for the objects data type.