Question: 5. (3 points) Determine whether the following array declarations are valid. If a declaration is valid, determine the size of the array int list[]= {18,

5. (3 points) Determine whether the following array declarations are valid. If a declaration is valid, determine the size of the array int list[]= {18, 13, 14, 16); b, int x[10] = {1, 7, 5, 3, 2, 8); c. double yt4 12.0, 5.0, 8.0, 11.0, 14.0 d, double lengths [ ] ={8.2, 3.9, 6.4, 5.7, 7.3); e, int list[7] ={12, 13, , 14, 16, , 8); f. string names [8]={ "John", "Lisa", "Chris", "Katie'' }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
