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;

b. cat2 = cat1;

Computer Science & Information Technology

You might also like to view...

If a student receives an item shipped from an eBay auction and reports the box to be empty, this would be an example of ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

A comment can be deleted by right-clicking the comment balloon and clicking Delete Comment.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology