#includestdio.hint main(){ FILE *fp; char str[11], ch; int i=0; fp = fopen("TXT.INPUT", "r"); while((ch=getc(fp))!=EOF) { if(ch == '\n' || ch == ' ') { str[i]='\0'; strrev(str); printf("%s", str); i=0; } else str[i++]=ch; } fclose(fp); return 0;}
Not registered? Create an account
Forgot Password?
Already a registered user? Login