Write a declaration statement for an array of 10 elements of-02271
This subjective question is related to the book/course vu mth401 Differential Equations. It can also be found in vu mth401 Mid Term Solved Past Paper No. 1.
Question 1: Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0.
Answer:
float floatArry[10] = {1.0,2.0,3.0,4.0};