View Code of Problem 114

#include<stdio.h>
#include<string.h>
int main()
{
    char s[1000];
    while(~scanf("%s",s))
    {
    	strrev(s);
    	printf("%s ",s);
	}
    return 0;
}
/*
Main.cc: In function 'int main()':
Main.cc:8:14: error: 'strrev' was not declared in this scope
      strrev(s);
              ^
*/

Double click to view unformatted code.


Back to problem 114