Main.cc: In function 'int sum(int)':
Main.cc:7:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
Main.cc: At global scope:
Main.cc:9:2: error: expected constructor, destructor, or type conversion before '(' token
f(i*=i);
^
Main.cc:10:1: error: 'cout' does not name a type
cout<