2
Answers

Is there any difference with these to logic

Suri

Suri

3y
409
1
bool func(int x)
{
    if (x==2)
        return true;
    else
        return false;
}
------------------------
bool func(int x)
{
    if (x==2)
        return true;
    return false;
}

 

Answers (2)