C Struct Not Retaining Data When Passed As A Pointer Stack Overflow

C Struct Not Retaining Data When Passed As A Pointer Stack Overflow