挺急的,大家帮帮忙吧!!用C解决的!!

来源:百度知道 编辑:UC知道 时间:2024/05/06 22:31:19
i.e., given the input
this is a test
It should return
tset a si siht

You are not allowed to use the C library function for reversing strings!
请大家给个完整的源代码,不胜感激!!!

告诉你说,比如,给出的INPUT是this is a test

你的程序需要输出
tset a si siht

1-可以用个文件把字符串输入进去之后倒退着读出来
2-可以用两个字符串+一个字符,用字符读出来INPUT字符串里面的一个个字符赋值给另一个字符串