Given only the following code, explain whether each of these calls is legal. If so, what is the type of T? If not, why not?
templateint compare(const T&, const T&);
(a) compare(“hi”, “world”);
(b) compare(“bye”, “dad”);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.