# Synopsis

int dar_DeleteLast(DAR_ARRAY *dar, void *element)

# Purpose

Pops an element from the back of the dynamic array.

# Description

Pops an element from the back of the dynamic array. In a dynamic array, this is an amortized O(1) operation. The element parameter is optional.

# Input

## dar

Dynamic array to push onto.

# Output

## element

If not null, then the value popped is stored here.

# Return

Either a 0 if there are no elements, or a 1 if there is.