Interesting C Array

This is a block of easy C code, right? This will print out 4. This block of code can also be written as the following:

a can be placed inside the square brackets. This syntax is correct! The output will be 4 as well!

2 thoughts on “Interesting C Array

  1. I couldn’t resist commenting. Very well written!

Leave a Reply

Your email address will not be published. Required fields are marked *