Why can you write arr[n] == n[arr] in C ?
Try the following program in C : #include <stdio.h> int main () { int arr[] = {42}; printf("%d", arr[0] == 0[arr]); return 0; } The above program prints out 1...ie, true. But why...?Well the reason the above works is because of how arrays are
Feb 27 2010 07:11 AM

Shuffle


































