What is wrong with the following function template (Other than the fact that it really does almost nothing)?
What will be an ideal response?
```
template
int f( int & x )
{
return x;
}
int main()
{
int y = 3, z;
z = f(y);
}
```
There is a rule “Every template argument specified in the template-
argument-list must be used in the argument of a function template.” (ARM, page
Computer Science & Information Technology
You might also like to view...
Fluorescent lights and machinery with motors or transformers are common sources of ________ emissions
Fill in the blank(s) with correct word
Computer Science & Information Technology
________ allows you to display an app to the left or right side of the current app of the Windows 8 screen
A) The Charms bar B) Snap C) Aero Peek D) Pin
Computer Science & Information Technology