C
Cocon Cocon
I see what 'const' does to global variables and pointer arguments. But
how about return types?
Consider:
const int f() {
...
}
What does the 'const' change?
Specifically, what would one have to put in for the '...' in order to
get a compile-time error?
how about return types?
Consider:
const int f() {
...
}
What does the 'const' change?
Specifically, what would one have to put in for the '...' in order to
get a compile-time error?