logoalt Hacker News

moktonartoday at 9:19 AM0 repliesview on HN

int x[n] and int *x are very different things when it comes to defining memory layout tho. In one case you end up with n int sized slots of memory, in the second with one register sized slot. That makes all the difference when defining structs for example.