how to read first element of an array in c++ code example
Example: get the first element of array c++
int arr = [1,2,3,4];
cout << arr[0]; //printing the first element of the array arr
int arr = [1,2,3,4];
cout << arr[0]; //printing the first element of the array arr