title: Callback with parameters
body: <p>Im trying to figure out how to use callbacks with parameters in C. The following isnt working. What is the best way to archieve it? (passing arguments for the callback function)</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  void caller(int (*cc)(int a)) {
      cc(a);
  }
  
  int blub(int a) {
      printf("%i", a); 
      return 1;
  }
  
  int main(int argc, char** argv)
  {
      caller(blub(5));
      return 1;
  }
  </code></pre>