lab8c.c