Multiple Choice
Assuming that cat1 and cat2 are both instances of the Pet structure, which one of the following statements copies cat1 to cat2?
A) cat1 = cat2;
B) cat2 = cat1;
C) cat1(cat2) ;
D) cat1 = new cat2;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: The fields contained in structure must all
Q11: Once you have created an instance of
Q12: If you find yourself using a structure
Q13: Unlike other types of objects, you cannot
Q14: When integer values are assigned to the
Q16: A string within a string is called
Q17: C# allows you to access the individual
Q18: String subscripts must be at least 0,
Q19: The char data type provides a single
Q20: The _ method returns true if the