0 votes
by (120 points)
IS IT function or method in C++?

1 Answer

0 votes
by (1.3k points)
Methods are functions that belongs to the class. There are two ways to define functions that belongs to a class: Inside class definition.

Related questions

0 votes
1 answer
asked Jun 7, 2021 by functions (240 points)
0 votes
1 answer
0 votes
1 answer
asked Nov 28, 2019 by celsius (1.3k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 28, 2019 by function (400 points)
0 votes
1 answer
0 votes
1 answer
asked Aug 21, 2021 by celsius (1.3k points)
...