1. şenol güneş
  2. Proje İsteği
  3. Pazartesi, Aralık 29 2014, 11:42 PM
  4.  E-posta abonesi olun

#include "stdio.h"


#include "conio.h"


 


int main(void)


{


   char s[40], gecici;


   int  i, n;


 


   printf("Bir seyler yazin : ");


   gets(s);


 


   for(n=0; s[n] != '\0'; n++)


      ;


 


   for(i=0; i<n/2; i++){


      gecici   = s[n-i-1];


      s[n-i-1] = s[i];


      s[i]     = gecici;


   }


 


   printf("Tersi : %s\n",s);


   


getch ();


}



There are no replies made for this post yet.
However, you are not allowed to reply to this post.