title: How to declare function pointer in header and c-file?
body: <p>I'm a little confused over how to declare a function pointer in a header file.
  I want to use it in main and a file called menus.c and declare it in menus.h I assume.
  We want to initialize to point to a certain function.</p>
  
  <p>it looks like this:</p>
  
  <pre><code>void (*current_menu)(int);
  </code></pre>
  
  <p>What do we write in menus.c, menus.h and main?</p>