hi,
How can I write a function to copy the contents of struct first to second ?
Code:typedef struct copyone{ char key[32];char value[32];}copyone,copytwo;
typedef struct first{ char data[83];copyone *ptrone; } first;
typedef struct second{ char name[83];copytwo *ptrtwo; } second;