void foo(int (*M) [10]) {} can be written as void foo(int (M*) [10]) {}?

The pointer * can be before or after the ID?
Have you tried both ways in your compiler to see if an error occurs? Or if the behavior is different?
Not yet, I just see my book C++ Primer is printed like that, so just wondering!
It's a typo. The latest edition has a lot of them, apparently.
I guess so, too! Thanks!
Topic archived. No new replies allowed.