title: How to check if element of array is int or float?
body: <p>I have 2 arrays, one is commented, I would like to make universal printf that will plot the values: </p>
  
  <pre><code>int values [] = { 88, 56, 100, 2, 25 };
  //float values[] = {88.5f, 56.5f, 100.0f, 2.234f, 88.12f};
  
  if (value[0] is int) {
      for(i; i &lt; 5; ++i)
      printf("%d ", *(values + i));
  } else {
      for(i; i &lt; 5; ++i)
      printf("%f ", *(values + i));
  }
  </code></pre>
  
  <p>Is there any way to check it? For example when I wanted to see if element is char or int then I used sizeof</p>