Question: Which of the following shows the contents of vector pointed by v1 and v2 after running this code?
- `*v1:{1,2,3,4}; *v2:{5};`
- `*v1:{1,2,3,4,5}; *v2:{1,2,3,4,5};`
- Error
- `*v1:{1,2,3,4}; *v2:{1,2,3,5};`
Answer: The correct answer of the above question is Option B:`*v1:{1,2,3,4,5}; *v2:{1,2,3,4,5};`