I know that int* foo(int)
prototype means that foo
is a function that takes an integer argument and returns a pointer to an integer.But what does the following mean?
const int* foo(int);
I tried to reason but failed.My book doesn't say anything about this but I see stuff like this in library function prototypes.So please tell me what it means.