Arrays Flashcards
1
Q
What are their relationships to pointers
A
Array can be though of as a const pointer
2
Q
Each item in an array is called
A
An Ellement
3
Q
How to initialize an array
A
Type arrayName [size];
4
Q
What is pointer arithmetic
A
Because a pointer is an address and an address is a number you can preform arrithimic operations on a pointer such as , ++ , -, +, and - -
5
Q
Dynamic arrays
A
Hanging side, allocating new elects with new and
6
Q
Expanding dynamic arrays
A