Question: Assume q 1 is a queue created in the main and q 2 is created in a block scope and we write q 2 =

Assume q1 is a queue created in the main and q2 is created in a block scope and we write q2=q1 and in the main function we print the items of the q1, if no operator=
overload method then then
a. The q1 was not changed
b. The q1 has the same items of q2
c. The q1 becomes empty
d. The q1 items becomes rubbish
 Assume q1 is a queue created in the main and q2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!