get first element of array 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