Given that an array of int named a with 30 elements has been declared, assign 5 to its last element.

Given that an array of int named a with 30 elements has been declared, assign 5 to its last element.

LANGUAGE: C++

CHALLENGE:

Given that an array of int named a with 30 elements has been declared, assign 5 to its last element.

SOLUTION:


a[29]=5;

Add comment