What is difference between Methods and functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is difference between Methods and functions

In object oriented programming using C++

17th Jan 2020, 3:33 AM
Akash Patil Chinnu
Akash Patil Chinnu - avatar
1 Answer
+ 1
really they are the same... A method is a procedure or function in object-oriented programming as in cpp A function is a group of reusable code which can be called anywhere in your program in every language but here we are referring to c and cpp https://www.tutorialspoint.com/What-is-the-difference-between-a-method-and-a-function
17th Jan 2020, 3:40 AM
BroFar
BroFar - avatar