Preparando la página...


One common use of an array is as a stack of information, where you add new values to and remove old values from the righthand side of the list. The righthand side is the end with the “last” items in the array, the end with the highest index values. These operations occur often enough to have their own special functions. Think of this like a stack of plates. You take a plate off the top of the stack and put plates on top of the stack (if you’re like most people).