Explain what happens in each of the following calls:
templatevoid f(T);template void f(const T*);template void g(T);template void g(T*);int i = 42, *p = &i;const int ci = 0, *p2 = &ci;g(42); g(p); g(ci); g(p2);f(42); f(p); f(ci); f(p2);
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.