Assume that an array named a, containing exactly five integers has been declared and initialized. Write a single statement that adds ten to the value stored in the first element of the array.

Assume that an array named a, containing exactly five integers has been declared and initialized. Write a single statement that adds ten to the value stored in the first element of the array.

LANGUAGE: C++

CHALLENGE:

Assume that an array named a, containing exactly five integers has been declared and initialized. Write a single statement that adds ten to the value stored in the first element of the array.

SOLUTION:


a[0]+=10;

Add comment