Which one of the following statements declares a Pet structure variable named hound and initializes the object's fields with their default values?
Look at the following code sample:
```
struct Pet
{
public string name;
public int age;
public string type;
}
```
a. new Pet = hound;
b. Pet hound = new Pet();
c. hound = new Pet();
d. Pet hound;
b. Pet hound = new Pet();
Computer Science & Information Technology
You might also like to view...
One way to access the Split Cell option within a table is by using:
A) the Insert Columns option under the Insert tab. B) the Table icon under the Insert tab. C) the Table icon within the Home tab. D) the right mouse click.
Computer Science & Information Technology
When using iPads, iPhones, and iPods, using apps that were not downloaded from the official iTunes App Store requires an unauthorized change to the device's software called a(n) ____.
A. extract B. break-in C. jailbreak D. hack
Computer Science & Information Technology