const int vs. int const jako parametr funkcji w C ++ i C
Szybkie pytanie:
int testfunc1 (const int a)
{
return a;
}
int testfunc2 (int const a)
{
return a;
}
Czy te dwie funkcje są takie same w każdym aspekcie, czy istnieje różnica? Interesuje mnie odpowiedź na język C, ale jeśli jest coś interesującego w języku C ++, chciałbym to wiedzieć.