Garmaine Staff asked 1 year ago
This question already has answers here:”>What is meant with “const” at end of function declaration? [duplicate] (6 answers)
Closed 6 hours ago.

inline unsigned int FunctionName() const { return variable; }

I recently came across inline functions, and i wanted to know what const is actually doing in this snippet of code.