C Programs from class