会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
attendere
博客园
首页
新随笔
联系
订阅
管理
2020年7月27日
利用递归调用的方式是将数字n的不同位提取出来并按照从高位到低位的顺序将各位的数字以字符的形式输出。
摘要: #include <stdio.h> void fun(int n) { int i; if((i=n/10)!=0) fun(i); putchar( n%10+'0'); } main() { fun(256); } 程序运行后的输出结果是 答案:D A)652 B)2560 C)52 D)25
阅读全文
posted @ 2020-07-27 09:04 attendere
阅读(205)
评论(0)
推荐(0)
编辑
公告