InterviewSolution
Saved Bookmarks
| 1. |
What Exactly Is Grooving And Shortening Of The Array? |
|
Answer» You can change the number of ELEMENTS in an array simply by changing the value of the last index of/in the array $#array. In FACT, if you simply refer to a nonexistent ELEMENT in an array perl extends the array as NEEDED, creating new elements. It ALSO includes new elements in its array. You can change the number of elements in an array simply by changing the value of the last index of/in the array $#array. In fact, if you simply refer to a nonexistent element in an array perl extends the array as needed, creating new elements. It also includes new elements in its array. |
|