title: How to create a typedef for function pointers
body: <p>I think it would be easier to use function pointers if I created a typedef for a function pointer, but I seem to be getting myself tripped up on some syntax or usage or something about typedef for function pointers, and I could use some help.</p>
  
  <p>I've got</p>
  
  <pre><code>int foo(int i){ return i + 1;}
  typedef &lt;???&gt; g;
  int hvar;
  hvar = g(3)
  </code></pre>
  
  <p>That's basically what I'm trying to accomplish I'm a rather new C programmer and this is throwing me too much. What replaces <code>&lt;???&gt;</code> ?</p>