samples for C language