int max = a; if (b > max) { max = b; } if (c > max) { max = c; } printf("最大值是:%d\n", max);
【相关推荐】
当指针作为参数传入函数时,是值传递而非引用传递!!!