编写程序,检查字符串是否是回文,主函数输入一个字符串,输出该字符串是否是回文的信息。编程新人,请多指教! 程序代码 # include <stdio.h> # include <string.h> # define N 20 void main() { char str[N]; char