i have seen in some places of coding where a function is used in return statement. Why is it done? Any advantage?
Example
I hope it is only the style of coding. Am I correct?Code:int SubFunction1(void) { return subfunction2(); } int Subfunction1(void) { int local; local = subfunction2(); return local; }