•Array
elements act like other variables
–Assignment,
printing for an integer array c
–c[ 0 ] = 3;
–cout << c[ 0 ];
•Can perform
operations inside subscript
–c[ 5 – 2 ] same as c[3]
•The [] operator returns a specific memory location within the array.
•[5] counts memory locations (starting at the 0th one) and returns the value in the 6th memory location
from the start of the
array.
–
–