title: return long double value in visual studio
body: <p>I wrote power function code in visual studio 2012:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  long double myPow( long double base, unsigned int exp);
  int main(){
      long double base, m;
      unsigned int exp;
      scanf("%Lf%u",&amp;base ,&amp;exp);
      m=myPow(base, exp);
      printf("%.3Lf",m);
      //getch();
      return 0;
  }
   long double myPow( long double base, unsigned int exp){
      static long double power=1;
      if (base==1)
          return base;
      if(exp==1)
          return power*base;
      else{
          power*=base;
          myPow(base,exp-1);
      }
  }
  </code></pre>
  
  <p>but the output in vs always is <strong>-1.#IO</strong>.</p>
  
  <p>what s the problem?</p>