EECS 183 Lecture Notes - Lecture 11: Array Data Structure, Compile Time
![EECS 183 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2160099-class-notes-us-um-ann-arbor-eecs-183-lecture7.jpg)
1
EECS 183 Full Course Notes
Verified Note
1 document
Document Summary
Parameters name new storage locations and the original variable remains unchanged. Dealing with something very large in memory. We want to alter the original variable. &" means address of variable is passed. Pass by value: new storage created for parameter. Pass by reference: parameter references the same storage location as the argument variable. No new storage is created for pass-by-reference parameter. Multiple values may be passed back in effect. Can be variable, constant, or any other expression. Must have a named storage location (e. g. variable) An array is a systematic arrangement of similar objects. An array is a collection of items of the same data type stored consecutively in memory under one name. A string is also a collection of values. Arrays are excellent for storing and processing a sequence of values. [0] through [4] is size of 5 elements. Array size must be known at compile time. Array size must be a constant integer value.