Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please I need help for this question, anyone?? I just know that the one that say

ID: 3825518 • Letter: P

Question

Please I need help for this question, anyone?? I just know that the one that says "it stores the string "Charles" in the variable name inside mycontact" is incorrect, (it's C programming)

1 point Question 9 struct my struct f char name char *address; struct my struct my contact malloc (sizeof (struct mystruct) (my contact name Charles When the above code executes, O it fails because name did not specify a size and no memory for it was allocated. O mycontact contains a pointer called name that points to a string, "Charles", stored somewhere on the heap. O itfails because the last line should have been (mystruct).mycontact.name "Charles O it stores the string "Charles" in the variable name inside mycontact.

Explanation / Answer

mycontact contains a pointer called name that points to a string,"charles",stored somewhere on the heap.