title: How significant is (int) within a statement?
body: <p>If I have: </p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main()
  {
    float a,b,c;
  
    b = 7;
    c = 2;
    a = (int) (b / c);
  
    std::cout &lt;&lt; a; 
  }
  </code></pre>
  
  <p>Does (int) only affect the data type during cout so that 'a' can be printed as an integer or does it affect 'a' as a variable changing it to an 'int'?</p>