View Code of Problem 52

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

	gets(str1);
}

Double click to view unformatted code.


Back to problem 52