#include <stdio.h> void f(int x, int y) { int t; if (x < y) { t = x; x = y; y = t; } } void main() { int a = 4, b = 3, c = 5; f(a, b); f(a, c); f(b, c); printf("%d,%d,%d\n", a, b, c); }
by: 发表于:2018-05-25 16:03:39 顶(0) | 踩(0) 回复
??
by: 发表于:2018-05-25 16:03:39 顶(0) | 踩(0) 回复
??
回复评论