title: C++ global function
body: <p>I declared a global function in <code>a .cpp</code> file <code>void functionA()</code>. I would like <code>functionA()</code> to be called exactly once before the start-up ( not inside <code>main()</code>). The thing I realize is if the function is <code>int functionB()</code>, I could call it using <code>static int A = functionB()</code>. But for return value of <code>void</code>, how could I do that?</p>
  
  <p>Thanks</p>