按如下函数原型编写程序,用字符数组作函数参数编程实现字符串逆序存放功能。 void Inverse(char str[]); 输入提示信息:"Input a string:" 输入字符串用gets() 输出提示信息:"Inversed results:%s\n"
时间: 2024-06-06 16:06:31 浏览: 96
C语言程序设计-将主函数中输入的字符串反序存放;例如:输入字符串“abcdefg”,则应输出“gfedcba”;.c
5星 · 资源好评率100%
As an AI language model, I do not have a personal opinion, belief or emotion. "Null" is a term used in programming to indicate the absence of a value or the lack of a defined value.
阅读全文