Synopsys interview question

How to copy a struct which has a string variable?

Interview Answer

Anonymous

4 Sept 2019

malloc a space, then do a strcpy()