What is the output of the following code?

```
inline void print(int i)
{
cout << i << endl;
}

int main()
{
print(1);
inline void print(int i)
{
cout << i << endl;
}

int main()
{
print(1);
return 0;
}
/code}

A. max is 2
B. max is 0
C. max is
D. max is 1

B. max is 0

Computer Science & Information Technology

You might also like to view...

Windows 10 creates a personal folder for each user account that contains subfolders and information specific to that user

Indicate whether the statement is true or false

Computer Science & Information Technology

Why would a network administrator configure access lists to filter data packets on a routers interface?

A) This is a last choice because viruses are transported via the Internet. B) This is a good step, but packets should be avoided when configuring access lists. C) This can be used to limit data packets that enter the network. D) This technique helps to minimize data spikes.

Computer Science & Information Technology