title: How to print in C
body: <p>Very much a beginner to C, in fact this is my first tester program.</p>
  <p>I can't actually figure out how to print this number out to the terminal.</p>
  <pre><code>#include &lt;stdio.h&gt;
  
  int addNumbers(int a, int b)
  {
      int sum = a + b;
      return sum;
  }
  
  int main(void)
  {
      int a = 4;
      int b = 7;
  
      printf(addNumbers(a,b));
      return 0;
  }
  </code></pre>
  <p>I am sure that in Java I could just replace the <code>printf</code> with <code>System.out</code> and it would have worked. I tried searching the answer earlier but if you don't know what to search it's hard to find an answer.</p>