https://ide.codingblocks.com/s/17901https://ide.codingblocks.com/s/17901
i understand line no 106,107 but have a problrm in 109
in line 109: cout<<v[2];
<< function requires two operands 1 of type ostream and other of type vector class
but here v[2] is of int& type
How it is working correctly