lab4.c