title: About letter f (float type) in C/C++
body: <p>I am new to C/C++ programming, and i don't know why they put the letter 'f' in the end of a number when assign, like this:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  int main() 
  {
      float my_float = 2.34f;
      double my_double = 2.34;
  }
  </code></pre>
  
  <p>I search for a while and i think that if i don't put this letter 'f', the variable my_float will be a double. am I right?
  I find some way to find how memory use by a variable/ or type of it (in this case this is my_float) but i don't get it, someone can help me?</p>