Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started