In the video of OOPS explaining the copy constructor in algo+ online course (https://online.codingblocks.com/player/10688/content/500), why was the copy constructor called twice when two copies were created, it actually worked but didn’t print “making a copy of car” twice. Please explain it a bit, it is confusing me. Thanks in advance.
Copy constructor cpp algo+
Hey Kaushal, can you please mention the name of this video.
CPP OOPS 5 - copy constructor