With arrays, why is it the case that a[5] == 5[a]?

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=3UYKP5wkeU8



Duration: 6:04
7 views
0


With arrays, why is it the case that a[5] == 5[a]?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/356/dinah)Dinah |
(stackoverflow.com/users/33708/mmx)mmx |
(stackoverflow.com/users/14148/david-thornley)David Thornley |
(stackoverflow.com/users/827263/keith-thompson)Keith Thompson |
(stackoverflow.com/users/12725/james-curran)James Curran |
(stackoverflow.com/users/30364/user30364)user30364 |
A special thanks goes out to the (https://stackoverflow.com/questions/381542/with-arrays-why-is-it-the-case-that-a5-5a)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

pointer-arithmetic pointers c arrays







Tags:
pointer-arithmetic
pointers
arrays