#include <iostream>
int main() {
int arr[5] = {1, 2, 3, 4, 5};
// Accessing elements using array access operator []
int firstElement = arr[0];
int secondElement = arr[1];
int thirdElement = arr[2];
int fourthElement = arr[3];
int fifthElement = arr[4];
// Modifying elements using array access operator []
arr[1] = 10;
arr[3] = arr[2] + arr[4];
// Displaying array elements
std::cout << "First Element: " << firstElement << std::endl;
std::cout << "Second Element: " << secondElement << std::endl;
std::cout << "Third Element: " << thirdElement << std::endl;
std::cout << "Fourth Element: " << fourthElement << std::endl;
std::cout << "Fifth Element: " << fifthElement << std::endl;
return 0;
}