A functionality c code