usage of parameterized constructor in c