Cpp Function Vs Method In Programming