2021年6月15日

摘要: 阅读全文
posted @ 2021-06-15 20:47 leyasu 阅读(111) 评论(0) 推荐(0)
 
摘要: 1.临时变量法(最实用) 方法解释:采用临时变量的方法,作为中间过渡,这是最简单也是大家最容易想到的方法,此法在各种场合应用极多,应该熟练掌握。 #include int main(void) { int a=1,b=2,tmp; tmp =a; a=b; b=tmp; printf("%d %d" 阅读全文
posted @ 2021-06-15 20:23 leyasu 阅读(868) 评论(0) 推荐(0)