Skip to content

cf_array_pop

Category: array
GitHub: cute_array.h


Removes and returns the last element of the array.

#define cf_array_pop(a) apop(a)
Parameters Description
a The array. Must be non-NULL and non-empty.

Return Value

Returns the removed element.

Remarks

Shortform: apop(a).

cf_array_push
cf_array_last
cf_array_size