#include using namespace std; // Element size of array. const int GRADE_SIZE=5; int main() { // Delcare the array. int grades[GRADE_SIZE]; int temp; cout << sizeof(temp) << endl; cout << sizeof(grades[0]) << endl; cout << sizeof(grades) << endl; cout << "There are: " << sizeof(grades)/sizeof(grades[0]) << endl; temp=100; // Outside the bounds of the array. Goes to the next memory value. // In this case its temp. cout << grades[5] << endl; return 0; }