Can someone tell me what is wrong with this C++ function definition please?
Code:void Test1 ( int m, int n) { return 3*m+n; }
Can someone tell me what is wrong with this C++ function definition please?
Code:void Test1 ( int m, int n) { return 3*m+n; }
Your return type is wrong.
Code:int Test1 ( int m, int n) //Note the "int" { return 3*m+n; }