<story><title>So you think you know C?</title><url>https://hackernoon.com/so-you-think-you-know-c-8d4e2cd6f6a6</url></story><parent_chain><item><author>awalton</author><text>If you write a quiz like this, and &amp;quot;Don&amp;#x27;t Know&amp;quot; is an answer but &amp;quot;Undefined Behavior&amp;quot; and &amp;quot;Implementation-Dependent&amp;quot; are left off, you&amp;#x27;re doing it wrong.</text></item></parent_chain><comment><author>kmill</author><text>The question is &amp;quot;what would the return value be,&amp;quot; and without knowing which compiler is used you don&amp;#x27;t know what it would return.  It doesn&amp;#x27;t make sense to say the program returns &amp;quot;undefined behavior&amp;quot; or &amp;quot;implementation-dependent.&amp;quot;&lt;p&gt;You might be taking issue with the question itself, but I think it&amp;#x27;s a valid question because C compilers tend to be lenient with what they compile.</text></comment>
<story><title>So you think you know C?</title><url>https://hackernoon.com/so-you-think-you-know-c-8d4e2cd6f6a6</url></story><parent_chain><item><author>awalton</author><text>If you write a quiz like this, and &amp;quot;Don&amp;#x27;t Know&amp;quot; is an answer but &amp;quot;Undefined Behavior&amp;quot; and &amp;quot;Implementation-Dependent&amp;quot; are left off, you&amp;#x27;re doing it wrong.</text></item></parent_chain><comment><author>simosx</author><text>People would figure it out from the start if &amp;quot;Implementation-Dependent&amp;quot; was an option. Perhaps a &amp;quot;Something else&amp;quot; would be more appropriate so that the reader would still be surprised at the end and feel it was a decent multiple-choice test.</text></comment>