Generally, the initialization of the structure variable is done after the structure declaration . Just after structure declaration put the braces (i.e. {}) and inside it an equal sign (=) followed by the values must be in the order of members specified also each value must be separated by commas.