Hello guys,

I would like to understand what's the difference between applications of const over functions , this means :
Code:
const function_name(data type input) ;
const function_name(data type input) const;
const function_name(void) const;
I understand the first application of using const before function which it's:
Code:
const function_name(data type input)
this means that function returns CONST and can't be changed by any else function.


About the other two applications, could anyone please explain in simple words their applications?


Much appreciated.