title: What is the result of an assignment expression in C?
body: <p>In the following code:</p>
  
  <pre><code>int c;
  while((c=10)&gt;0)
  </code></pre>
  
  <p>What does <code>c = 10</code> evaluate to? Is it 1 which indicates that the value 10 is assigned to variable c successfully, or is it 10? Why?</p>