What is the difference between these below functions ( Look at keyword const
) ?
void f1(const Class &c)
and
void f2(Class const &c)
There is no difference. The two versions are interchangeable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With