Given that an vector of int named a with 30 elements has been declared, assign 5 to its last element .
LANGUAGE: C++
CHALLENGE:
Given that an vector of int named a with 30 elements has been declared, assign 5 to its last element.
SOLUTION:
a[29]=5;