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:

Calling functions. I am given a main program that it not to

MY OUTPUT:

be changed and a source.c and header.h program I am to write

HEADER.H (MY CODE):

my code in. I have written the code just having trouble calling

SOURCE.C (MY CODE):

the functions. Trying to call header(void) and getItem(void) from source.c to output

MAIN.C CODE (NO CHANGES NEEDED HERE):

in main.c program attached the 3 codes, example output and my output.

#define _CRT_SECURE_NO_WARNINGS #include

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!