const int vs. int const como parámetro de función en C ++ y C
Pregunta rápida:
int testfunc1 (const int a)
{
return a;
}
int testfunc2 (int const a)
{
return a;
}
¿Son estas dos funciones iguales en todos los aspectos o hay una diferencia? Me interesa una respuesta para el lenguaje C, pero si hay algo interesante en el lenguaje C ++, también me gustaría saberlo.