aplusb.cpp:1:1: error: ISO C++ forbids declaration of 'sum' with no type [-fpermissive] 1 | sum(int A, int B){ | ^~~