title: Any other way to Reverse String Without using array?
body: <pre><code>int main()  
  {  
      clrscr();  
      char c[80],d[80];  
      cout&lt;&lt;"Enter a string = ";  
      cin.get(a,80);  
      strcpy(c,a);  
      strrev(a);  
      if(strcmp(c,a)==0)  
           cout&lt;&lt;"String = "&lt;&lt;c&lt;&lt; "is palindrome.";  
      else  
           cout&lt;&lt;c&lt;&lt;" is not palindrome";  
      getch();  
      return 0;
  }
  </code></pre>
  
  <p>so there is any other way to accomplish this task in easy way without using array or in other way?</p>