Question: I need to copy the data from the source pointer parameter into the target parameter. My code for copying the data is under the movie
I need to copy the data from the source pointer parameter into the target parameter. My code for copying the data is under the moviecopy function. My output is located at the bottom of the image and is outputted incorrectly. I am using this function to print my output:
void movieprintconst moviestruct source
your code here
printfTitle: s
sourcetitle;
printfYear: d
sourceyear;
printfDirector: s
sourcedirector;
printfGenre: s
GENRESsourcegenre;
printfRating: f
sourcerating;
The intended output display should look like this:
Test: movieinit&source, "Dark City", "Alex Proyas",
Test: movieprintsource:
Title: Dark City
Year:
Director: Alex Proyas
Genre: science fiction
Rating:
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
