#include <stdio.h>
#include <string.h>

char my_string[20] = "C is neat!";

int main()
{
int index;

   printf("%s\n", my_string);
   
   for (index = 0 ; my_string[index] ; index = index + 1)
      printf("%c", my_string[index]);
   printf("\n");
   
   for(index = strlen(my_string) ; index > 0 ; index = index - 1)
      printf("%c", my_string[index - 1]);
   printf("\n");

   return 0;
}



/* Result of execution

C is neat!
C is neat!
!taen si C

*/
