how to set everything in an array to a value c++ code example Example: c++ initialize array int arr[3] = {1, 5, 4};