title: Void function (C language)
body: <p>I'm trying to run a very simple code using a void function, but no matter what I try or some error occurs, or the program doesn't print what it was supposed to. The code is </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main()
  {
      int i,j;
      i = 1;
      j = 2;
      add(i, j);
      return 0;
  }
  
  void add(int i, int j) 
  {
      printf("%d + %d = %d", i, j, (i+j));
  }
  </code></pre>
  
  <p>I am trying to use void in other more complex program so I am using this very simple to discover how to make it.</p>