📜  cpp 中的返回函数 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:49.615000             🧑  作者: Mango

代码示例4
// Multiple return statements often increase complexity.
int max(int a, int b) {
    if (a > b) {
        return a;
    } else {
        return b;
    }
}//end max