When you declare an array, what does the number inside the square brackets represent?

  • Array's name length
  • Index of the last element
  • Number of elements in the array
  • Total memory allocated to the array
The number inside the square brackets when declaring an array in C represents the number of elements or the size of the array. It indicates how many elements the array can hold.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *