📜  在 c++ 代码示例中返回使用

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

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