title: C : is there "lazy evaluation" when using && operator, as in C++?
body: <p>I would like to know if this looks correct :</p>
  
  <pre><code>while((next !=NULL) &amp;&amp; (strcmp(next-&gt;name, some_string) &lt; 0) {
      //some process
  }
  </code></pre>
  
  <p>I mean, if next is <code>NULL</code>, then the second part of the expression won't be ever tested by the compiler? I have heard that in C++ it's the case (but I'm not even sure of it).</p>
  
  <p>Can someone confirm me that I won't get strange errors on some compilers with that?</p>