When looking at some code online I found
cin>>arr[0][0]>>arr[0][1]>>arr[0][2]
where I put a line of three integer values separated by space. I see that those three integers separated by space become the value of arr[0][0]
, arr[0][1]
and arr[0][2]
.
It doesn't cause any trouble if there are more than one space between them.
plz, can anyone explain me how this work?