#include <iostream>
using namespace std;
int arr[] = { 1, 2, 3 };
void Show()
{
for (int val : arr) {
cout << val;
}
}
int main()
{
Show();
return 0;
}
result will be 123 . i will be very grateful to get explanation of this -int val :arr- specifically what - : - does here ? what is it .