Another one: void f(char x[static 5]). In c, it asserts that 5 characters may be accessed from x; in c++, it’s illegal.
void f(char x[static 5])
x
Another one:
void f(char x[static 5])
. In c, it asserts that 5 characters may be accessed fromx
; in c++, it’s illegal.