Computer Science, asked by karan8610, 1 year ago

Differentiate between ordinary function and member functions in c++. Explain with an example

Answers

Answered by aryankunalroy38
12

mark me as brainliest answer

An ordinary function is nothing but a function with a return type and zero or more arguments. It can be called directly in the main or other functions. A member function is declared or defined within a class or structure. It is generally called with reference to the instance of the class or structure

Similar questions