Comment

Comment by AaronBallman

You couldn't in that parameter order. However, you could do this: int f(size_t n, int a[n][n]) { return a[n-1][n-1]; }

(https://godbolt.org/z/DV9c-C)

Btw, that definition was obsolescent in C89 too.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton