Skip to main content

Posts

Showing posts with the label Processing a Structure

Processing a Structure in C programming

                  The members of a structure are usually processed individually, as separate entity. A structure member can be accessed by writing    structure_variable.member              Here, structure_variable refers to the name of  a structure-type variable and member refers to the name of a member within the structure. Again, dot that separates the variable name from the member name.                  In the case of nested structure (if a structure member is itself a structure), the member within inner structure is accessed as                structure_variable.member.submember                ...