exec example c code