CBSE Class 11 Computer Science Question 76 of 112

Dictionaries — Question 16

Back to all questions
16
Question

Question 16

What do you understand by shallow copy of a dictionary ?

Answer

A shallow copy of a dictionary refers to a copy of the dictionary whereby only a copy of references (the keys) is created and the content (values of the dictionary) is not copied.