c++ load array using brackets code example Example 1: initialize array c++ int foo [5]; Example 2: arrays in c++ int baz [5] = { };