What question should be asked to test the interview candidate's knowledge of references in C++?
<p>If a candidate says that his knowledge in C++ is 7/10 and you want to test his knowledge of references in C++, what question will you ask?</p>

<p>I thought of the following:</p>

<ol>
<li>Write a function declaration that takes a pointer as reference with default values and ask him to figure out a mistake and explain it.</li>
<li>Pass a literal as argument to a function that takes that parameter as reference.</li>
</ol>

<p>Any other question that is better at testing candidates overall knowledge of references in C++?</p>

<p>Thanks,</p>
