title: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
body: <ol>
  <li>The program snippet was written for prime number extraction.</li>
  <li><p>The warning was thrown by the compiler as that like the title.</p>
  
  <pre><code>while(count&lt;=n)
  { 
    for(c=2;c=(i-1);c++) //the warning is shown here
    { 
       if(i%c==0) 
         break; 
    }     
    if(c==i) 
    { 
       printf("%d ",i); 
       count++; 
    } 
    i++; 
  }
  </code></pre></li>
  </ol>
  
  <p>thanks to you in advance!</p>