View Code of Problem 52

#include <string.h>
int main()
{
    int a,i;
	char string[100];
	gets(string);
	
	a=strlen(string);
	for(i=a-1;i>=0;i--)
	{
		printf("%c",string[i]);
	}
	return 0;
}

Double click to view unformatted code.


Back to problem 52