Create constructor.c

to exercise c language programming of attribute constructor