title: Confused with the Use of Linkfloat
body: <p>Today, I was reading about structures in Let Us C (on <a href="https://www.goodreads.com/book/show/2522685.Let_Us_C" rel="nofollow noreferrer">Goodreads</a>).  I am confused a bit about the usage of <code>linkfloat()</code>. Without its use, I am able to write programs on structures having float type data members.   </p>
  
  <p>I am programming using the ideone online compiler.</p>
  
  <pre><code>int main()
  {
      struct book
      {
              char name;
              float price;
      };
      struct book b;
      scanf("%c %f",&amp;b.name,&amp;b.price);
  
      printf("%c %f",b.name,b.price);
      return 0;
  }
  
  /*linkfloat()
  {
      float a=0,*b;
      b=&amp;a; //cause emulator to be linked
      a=*b; //suppress the warning: variable not found
  }*/
  </code></pre>
  
  <p>here is the link:<br>
  <a href="http://ideone.com/peL5q" rel="nofollow noreferrer">http://ideone.com/peL5q</a></p>
  
  <p>Even without the use of <code>linkfloat</code>, the program compiles and outputs correctly. So what purpose does it serve?</p>