Sorry, in line 8 is "cout" instead of "coutz". The error persists.
put std:: before cout and endl, or put using namespace std; after your includes.
Also after preprocessing, this will resolve to int f1(int 10, int 40) {/**/}. This is obviously causing syntax errors.
Last edited on