Question: Define a function makeDeck with the following prototype: cardT * makeDeck ( void ) ; It should link a list of 5 2 cardTs, one
Define a function makeDeck with the following prototype:
cardT makeDeckvoid;
It should link a list of cardTs, one of each combination of rank and suit C D H or S and return the head of the list.
Use the makeCard and addToPile functions as described above they have already been defined here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
