title: runtime determine type for C
body: <p>If the type of a variable must be determined as runtime in C but the variable name is fixed and given, is there any way to reuse the code that involves the variable? </p>
  
  <p>Actually I am asking about the C counterpart situation of <a href="https://stackoverflow.com/questions/1984492/runtime-determine-type-for-c">runtime determine type for C++</a>.</p>
  
  <p>If possible please give some examples.</p>