A
ada_student
I see no compilation errors even in C++ 98 compilation mode:
extern void
copy_array2(int dest[4][5], const int src[4][5])
{
// ...
}
extern void
copy_array(int dest[][5], const int src[][5])
{
// ...
}
Shouldnt there be a compile-time error(duplicate declarations)?
Also, what is the type of int dest[][5]?
extern void
copy_array2(int dest[4][5], const int src[4][5])
{
// ...
}
extern void
copy_array(int dest[][5], const int src[][5])
{
// ...
}
Shouldnt there be a compile-time error(duplicate declarations)?
Also, what is the type of int dest[][5]?