C/C++: `const` position in function's argument list -


void func1 (const int *); void func2 (int const *); void func3 (int * const); 

which 2 signatures equivalent? if none of them are, can please explain subtle differences?

the first 2 equivalent (the int const), in third it's pointer that's const (i.e. parameter itself).


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -