Question: Calling functions. I am given a main program that it not to be changed and a source.c and header.h program I am to write my
Calling functions.
I am given a main program that it not to be changed and a source.c and header.h program I am to write my code in. I have written the code just having trouble calling the functions.
Trying to call header(void) and getItem(void) from source.c to output in main.c program
attached the 3 codes, example output and my output.
OUTPUT SUPPOSE TO BE:

MY OUTPUT:

HEADER.H (MY CODE):

SOURCE.C (MY CODE):

MAIN.C CODE (NO CHANGES NEEDED HERE):

#define _CRT_SECURE_NO_WARNINGS #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
