Hello can someone please explain what does the const means in front of function declaration like so :
const void function(parameters);
I know, it means you can't modify what it returns, but how are we able to modify, what it returns? Thanks for any kind of reply.
It means exactly nothing. The function does not return anything so the const modifier modifies nothing.
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