Question: 32. You coded a program that consists of several files: 1. employee.c-containing the code to load employee records from a database and produce statistical information



32. You coded a program that consists of several files: 1. employee.c-containing the code to load employee records from a database and produce statistical information about the employees. The file contains main() employee.h - contains the declaration of the employee structure and function prototypes stats.c -file contains code to which computes statistical functions (e.g., average and standard deviation) stats.h - file contains the function prototypes of (declaration) of the stats functions 2. 3. 4. Which of the make files will correctly generate an executable program with the name employee? a) b) employee: stats.o employee.o stats.o: stats.h stats.c gcc -o employee stats.o employee.o gcc-c stats.c employee.o: employee.h employee.o: employee.h employee.c gcc -c employee.c gcc -c emplyee.c stats.o: stats.h employee: employee.o stats.o gcc-o employee employee.o stats.o gcc -c stats.c c) employee: main.o stats.o employee.o d) employee: stats.o employee.o employee.o: employee.h gcc -o employee stats.o employee.o gcc -o employee stats.o employee.o employee.o: employee.h gcc employee.c gcc -c employee.c stats.o: stats.h stats.o: stats.h gcc stats.c gcc stats.c
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
