Multiple Choice
Look at the following code sample:
struct Pet
{
Public string name;
Public int age;
Public string type;
}
Which one of the following statements declares an instance of a Pet structure named hound and initializes the object's fields with their default values?
A) new Pet = hound;
B) Pet hound = new Pet() ;
C) hound = new Pet() ;
D) Pet hound;
Correct Answer:

Verified
Correct Answer:
Verified
Q12: If you find yourself using a structure
Q17: The _ method removes all leading and
Q19: When you need to convert a char
Q21: A structure declaration does not create anything
Q22: When you are tokenizing a string that
Q23: A(n) _ is a data type you
Q37: You will find the ImageList control in
Q49: Structure objects are normally passed _ to
Q55: You can use the assignment operator (=)
Q90: When you add a structure instance to