I came across this piece of code. In the cout statement the conditions evaluates to true.
a[10][10]=’h’;
cout<<(a[0]==*a)&&(*a==0[a]);
Accessing an array element/address using 0[a]
is the new thing.
Can somebody please explain this type of notation ?