Question: This program is IN THE C LANGUAGE! I WILL THUMBS UP THE ANSWER IF CORRECT!!:) PLEASE USE THE PROVIDED FUNCTIONS GIVEN BELOW! Please if possible,
This program is IN THE C LANGUAGE! I WILL THUMBS UP THE ANSWER IF CORRECT!!:)
PLEASE USE THE PROVIDED FUNCTIONS GIVEN BELOW! Please if possible, have comments within the code!
(This program will use this struct for recording employees info):
struct employee {
int number;
char employee_name[20];
};
A function needs to be created that will change the name of an employee inputted into the function with a new name
Here is the prototype of this function, please keep it EXACTLY as it is below:
void change_employee_name(struct employee * e, char * new_employee_name);
Here are the employees that will be in the main function, these employee names are set and do NOT require the user to enter them and this function does NOT require any user input:
struct employee e1 = {1111111 , "James"};
struct employee e2 = {1212121 , "Jim"};
struct employee e3 = {3131313 , "Alice"};
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
