View Code of Problem 52

#include <stdio.h>

int main()
{
	char tr[101]={0};
	int i;
	gets(tr);

	for(i = 0; tr[i] != 0; ++i)
		;
	for(--i; i >= 0; --i)
		printf("%c",tr[i]);
	return 0;
}

Double click to view unformatted code.


Back to problem 52