title: C - Function Values not passing properly for one of two integer values
body: <p>So here is the code - I know something simple is wrong with it but I cannot seem to figure it out. I've tried different number types, pointers, and other ish....the variables <code>b</code> and <code>c</code> have the correct values within function <code>separate()</code> - but when they get passed to <code>main()</code> they come out as <code>b = 0</code> and <code>c = -471211</code> (or something similar)....  </p>
  
  <p>What am i missing?  Here's the code:</p>
  
  <pre><code>    #include &lt;stdio.h&gt;
      void separate(int a, int b, int c){
        b = a/12;
        c = a%12;   }
  
  
     int main(){
       int a = 100
       int b, c;
       separate(a, b, c);
       printf("%i = 12 * %i + %i \n", a, b, c);
  </code></pre>