Creating Object Using Function In C