Suri

Suri

  • NA
  • 113
  • 13k

Is there any difference with these to logic

Jun 30 2021 6:53 AM
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)