same as Interfaces on Java.
This line is the declaration of a function, and it should be in header file: int sum2(int x, int y); This is the implementation of that function, and it is in lib or source file: int sum2(int x, int y) { return (x + y); }
Обсуждают сегодня