I'm trying to create an instance of class Chicken using the element in the array handles[7].
Is there a way to create an object with these names in the array?Code:char *temp; char *handles[7]="Chick","Duck","Green", "Hawk","Jab","peacock","Red"}; temp=handles[0]; Chicken temp;
Thanks for any help provided.