what is the error in this code 
<p>in the code below i m trying to reverse the string there is no compile time error but ,nothing is displayed .what is wrong ?</p>

<pre><code>   string string1="arunachalam";

   void reverseStr()
   {        
       for(int i=string1.length();i&lt;0;i--)
       {
          cout&lt;&lt;string1[i];
       }
   }
</code></pre>
