#include fun(int x) {if(x/2>0)fun(x/2) printf("%d",x%2); } main() {fun(20);putchar('\n');}

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/24 00:15:50
#includefun(intx){if(x/2>0)fun(x/2)printf("%d",x%2);}main(){fun(20);putchar(''\n'');}#includefun(intx)

#include fun(int x) {if(x/2>0)fun(x/2) printf("%d",x%2); } main() {fun(20);putchar('\n');}
#include fun(int x) {if(x/2>0)fun(x/2) printf("%d",x%2); } main() {fun(20);putchar('\n');}

#include fun(int x) {if(x/2>0)fun(x/2) printf("%d",x%2); } main() {fun(20);putchar('\n');}
fun(20){
fun(10){
fun(5){
fun(2){
fun(1){
输出1}
输出0}
输出1}
输出0}
输出0}