Factory Method Vs Factory Pattern C