Question: Question 13 1 pts Look at the following code sample that creates an array of Pet structure objects: struct Pet public string name: public int
Question 13 1 pts Look at the following code sample that creates an array of Pet structure objects: struct Pet public string name: public int age: public string type: const int SIZE 4: Pet [i cats-new Pet[SIZE] Which one of the following statements assigns the string "Pickles" to the name member of cats [21? "Pickles" cats[2]; O cats[2].name= "Pickles"; O cats.name[2] - Pickles; cats[2].namef"Pickles")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
