Consider the following array declaration and answer questions 1 and 2: int A [5];
- Write the code to initialize the Array A to ALL ones (i.e., 1 in every cell using a “for” statement with declarations of any loop variables needed.
- Write the code to declare and initialize an integer variable sum, and follow it with the code from question 1) to sum up the values in Array A.