Question: When declaring an array: elementType arrayNlame [ SIZE ] ; SIZE must be a constant or an integer literal. For example: int myArray [ 1

When declaring an array:
elementType arrayNlame[SIZE];
SIZE must be a constant or an integer literal. For example:
int myArray[10]; //can hold ten integers in the array
const int num=5;
int myArray[num1; //can hold 5 integers in the arrey/
When declaring an array: elementType arrayNlame [

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 Programming Questions!