How do I copy a pointer of type struct
to C?
For example, to copy a simple struct is only struct1 = struct2
;
but when it comes to 2 pointers, when it does this, one points to the same location of the other, and then the same, the content changes in the original, wanted to know a way to make a copy of one pointer to another, content, not the memory address.