following code
a[10] == 10[a]
the result seems true
in C-language
how C compiler sees both of them as the same ?
The compiler sees as follows:
a[10] == *(a + 10) == *(10 + a) == 10[a]
Check this for a better explanation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With