标签:blog io ar div log amp as tt br
/*输入一个字符串实现逆序输出*/ #include <stdio.h> #include <stdlib.h> void print() { char c; scanf("%c",&c); if(c != ‘#‘) print(); if(c != ‘#‘) printf("%c",c); } int main() { printf("请输入字符串,以#结束:\n"); print(); return 0; }
标签:blog io ar div log amp as tt br
原文地址:http://www.cnblogs.com/devinblog/p/4165965.html