title: scanf: floating point format not linked
body: <p>I'm getting error scanf: floating point format not linked
   while reading value for 'info'of following structure.</p>
  
  <pre><code>struct node
  {
      float info; struct node *next;
  }*start;
  </code></pre>
  
  <p>in main()</p>
  
  <pre><code>void main()
  {
         struct node *temp;
         temp = (struct node*)malloc(sizeof(struct node));
         printf("enter data = ");
         scanf("%f",&amp;temp-&gt;info);
  }
  </code></pre>
  
  <p>its not reading any value for that scanf and coming out of program.</p>
  
  <p>How to get around this ?</p>