Structure Assignment
struct element e1 = {"hydrogen", "H", 1.0, 3.0};
struct element es[3];
es[0] = e1;
struct element f(. . .)
{
. . .
return e1;
}
Structure as a whole can be used in assignment (as long as data type match), and returned from a function. However, any other operation must be on a field by field basis.