Hacker News new | ask | show | jobs
by Hex08 2721 days ago
*An array of 4 ints

Great explanation though, it really helps to read things inside-out

1 comments

Which part are you correcting?

The declaration "int bar[3];" is an array of 3 ints, which are bar[0], bar[1] and bar[2]. Declaration mimics use but it's not exactly the same; in this case the size replaces the indices, which are all less than it.