0

Do we need to declare a function if it is being used as a method in a class??

object oriented programming

14th Mar 2018, 8:02 PM
Abcdefg
1 Answer
+ 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.
14th Mar 2018, 9:45 PM
AZTECCO
AZTECCO - avatar