Functions written in C programming language