INITIALIZE A VECTOR: ERROR

hi @mverma_be19,


I have commented the errors in your code.
Please let me know if there is any other doubt.