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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!