warning: control reaches end of non-void function [-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.