0
Do we need to declare a function if it is being used as a method in a class??
object oriented programming
2 Answers
+ 8
Isn't a function which belongs to a class called method, or I'm wrong ?
You can declare friend functions inside a class in C++, those functions are outside the class and doesn't belongs to, they are just.. friends.