188k views
5 votes
It is a course standard to make use of a symbolic/defined constant to represent the size of a statically declared array.

a) True
b) False

1 Answer

0 votes

Final answer:

It is true that using a symbolic or defined constant to represent the size of a statically declared array is a standard programming practice for improved code maintenance and readability.

Step-by-step explanation:

The statement in question relates to a programming practice often used when declaring statically-sized arrays. It is true that it is a common standard to use a symbolic or defined constant to represent the size of a statically declared array in programming. This practice promotes better maintainability and readability of the code, allowing the size of the array to be changed easily without the need to modify every instance where the size is used. It is especially handy when the same array size is used in multiple places within a program.

User Shiho
by
7.1k points