title: Lvalue required Error
body: <p>visual studio does not report any error for this program while turbo c/c++ says 'Lvalue required in function main'</p>
  
  <pre><code>int main()
  {
    int a=10,b; 
    a&gt;=5?b=100:b=200;
    printf("%d",b);
    return 0;
  
  }
  </code></pre>
  
  <p>to avoid error : a>=5 ? b=100 :(b=200);</p>
  
  <p>why is it so ? explain.</p>