c++ array return get only first element 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