User defined type in C - structure, union and enum - Writing behaviour (functions) for struct types - part1