how to initializa an array in c code example Example: how to initialize an array in c double balance[5] = {1000.0, 2.0, 3.4, 7.0, 50.0};