Copy structure
struct myStructure s1 = {
13, 'B', "Some text"
};
struct myStructure s2;
s2 = s1;
In the example, the value of s1
is copied to s2
Comments
struct myStructure s1 = {
13, 'B', "Some text"
};
struct myStructure s2;
s2 = s1;
In the example, the value of s1
is copied to s2