title: Confusion with Associativity of Assignment operator in C
body: <p>As we all know that Associativity of assignment operator is from right to left but 
  in the given code output should be zero if we go from right to left but output is 1 .</p>
  
  <pre><code> main()
   {
   int a=3,b=2;
   a=a==b==0;
   printf("%d",a);
   }
  </code></pre>
  
  <p>How output is coming out to be 1 if we go by right to letf??</p>
  
  <p>If we go by right to left then (b==0) should be Evaluated first and gives result 0 and then expression (a==0) is Evaluated also gives 0 and at last a's value will be 0.</p>