Computer Science, asked by malli2056, 1 year ago

Difference between ordinary function and member function in c++

Answers

Answered by singhrishav835p9zhn7
0
or -> operator like.so() or like->so() , instead of as a function argument so( like ) . ... Non-member functions are instead declared outside any class (C++ calls this "at namespace scope"). (Non-static) member functions can also be virtual, but non-member functions (and static member functions) cannot.
Similar questions