Is there a difference between these two statements inside a function?
bool returnValue = true; // Code that does something return(returnValue);
No difference!!
People use parenthesis if there's a complex expression involved.
BTW return is a statement not a function.
return