Whats the difference between "const int funct()" and "int const funct()"?
Hello,
I am wondering if there is a difference between:
1 2 3 4 5 6
|
const int funct() {
//stuff...
return i;
}
|
and
1 2 3 4 5 6 7
|
int const funct() {
//stuff...
return i;
}
|
I looked it up but I didn't see a concise explanation.
Thank you for your time.
There is none.
1 2
|
int const x = 0;
const int y = 1;
|
Just a different notation.
Awesome; thank you for the speedy reply!
Topic archived. No new replies allowed.