Arrays Flashcards

1
Q

What are their relationships to pointers

A

Array can be though of as a const pointer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Each item in an array is called

A

An Ellement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to initialize an array

A

Type arrayName [size];

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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 - -

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Dynamic arrays

A

Hanging side, allocating new elects with new and

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Expanding dynamic arrays

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly