title: Number of elements in float array in C
body: <p>i have array of float in C. the length of this array depends of user input. I need to find out number of elements in this array. Example:</p>
  
  <pre><code>float a[10] = {3.1314, 1.5131, 9.133,  10.333}
  </code></pre>
  
  <p>How can i check number of elements? sizeof(a)/sizeof(a[0]) always give the max number of elements (10 in this case).</p>