title: What is the difference between int const function(parameters), int function(const parameters), and int function(parameters) const?
body: <p>I'm working on an assignment for my CS class and it uses const, and I am kind of confused as to when to use each.</p>
  
  <p>What are the differences between these 3 functions?</p>
  
  <pre><code> int const function(parameters)
   int function(const parameters)
   int function(parameters) const
  </code></pre>
  
  <p>Thanks in advance!</p>