The prototypes are:
put(int index, int x) will save the value of x in a global variable
at index “index.” index is between 0 and 9 (incusive)
The return value of the put function should be 0.
get(int index) will return the value that was most-recently saved by put
at index “index.”
Again, this is not a stack:
there is no memory of anything except the most recent put.
Write put and get in a single file named putget.c You should include your
global variable in this file as well.