Please explain me some small points discussed in the video at interval 51:03 and 1:01:28

At 51:03 Why copy created is empty ?? Also, At 1:01:28 please explain int &

Hello @mb129162,

  1. vector fun is empty because vector v was empty when it has been used in the declaration of fun vector.

  2. As sir has explained at 1:2:34, we are returning the reference. Thus we are writing the return type as int &.
    This same as what we do in case of pass by reference for function’s parameters.

Hope, this would help.