When a function has a specific-size array parameter, why is it replaced with a pointer?
Yes it’s inherited from C. The function: void foo ( char a[100] ); Will have the parameter adjusted to be a pointer, and so becomes: void foo ( char * a ); If you want that the array type is preserved, you should pass in a reference to the array: void foo ( char (&a)[100] … Read more