Given an vector a, declared to contain 34 elements, write an expression that refers to the last element of the vector.

Given an vector a, declared to contain 34 elements, write an expression that refers to the last element of the vector.

LANGUAGE: C++

CHALLENGE:

Given an vector a, declared to contain 34 elements, write an expression that refers to the last element of the vector.

SOLUTION:



a[33]

Add comment