There's no difference between 2 and 3 other than the values used.
The first method initializes the first member to 0 and default-constructs the rest (i.e. sets them to 0 as well).
In the fourth line the number of elements is determined automatically.