C 语言代码解析:交换变量并输出结果
#include <stdio.h> main() { int a,b,t; for(a=3,b=0;!a==b;a--,b++) if(a>b){t=a;a=b;b=t;} printf("%d,%d\n",a,b);
}
原文地址: https://www.cveoy.top/t/topic/pL9a 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
#include <stdio.h> main() { int a,b,t; for(a=3,b=0;!a==b;a--,b++) if(a>b){t=a;a=b;b=t;} printf("%d,%d\n",a,b);
}
原文地址: https://www.cveoy.top/t/topic/pL9a 著作权归作者所有。请勿转载和采集!