Question: For each of these declarations, indicate the array data type, the array name and the array size. (1) int a[ 5 ]; (2) int b[

For each of these declarations, indicate the array data type, the array name and the array size.

(1) int a[ 5 ];

(2) int b[ 10 ];

(3) float fArray[ 2 ];

(4) char string1[ ] = "first";

(5) int m[ ] = { 1, 2, 3, 4 };

(6) char string1[ ] = { 'f', 'i', 'r', 's', 't', '\0' };

(7) const int SIZE = 10 ;

double March[ SIZE ];

(8) const int SIZE = 5 ;

double March[ SIZE ];

(9) const int SIZE = 6 ;

int April[SIZE - 1 ];

(10) const int SIZE = 4 ;

int Array[SIZE - 2 ];

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!