Hey All !
OK the standard format for defining a function:
would this also be legal for defining a function?Code:typeName functionName(parameterList) { statements return value; // value is of type typename }
Code:typeName functionName(int a, int b) { return (a + b); /* define the arguments here for use let's say by a main function that the user input a & b */ }