non-void function does not return a value in all control paths [-Werror,-Wreturn-type] } code example
Example: control reaches end of non-void function
return result_of_calling_function; //I need to write this, otherwise I will get an error.
return result_of_calling_function; //I need to write this, otherwise I will get an error.