Array.pushBack
Appends a value to the end of the array.
Arguments
The
value
to append.
Return values
None
Complexity
Constant (amortized). O(getSize) in the worst case.
Example
Output:
1,2,0,5,Hello,0.300000,43,
Appends a value to the end of the array.
The
None
Constant (amortized). O(getSize) in the worst case.