【简答题】#include int funa(int a, int b) { int t; if (a > b) { t = a; a = b; b = t; } return t; } void main() { int a=33, b=22,c; c=funa(a,b); printf("c=%d\n", c); } 输出:
【单选题】#include int funa(int a, int b) { int t; if (a > b) t = a/b; else t = a%22; return t; } void main() { int a=33, b=22,c; c=funa(a,b); printf("c=%d\n", c); }
【单选题】#include int funa(int a, int b) { int t; if (a > b) { t = a; a = b; b = t; } return t; } void main() { int a=33, b=22,c; c=funa(a,b); printf("c=%d\n", c); }