Possible Duplicate:
Accessing arrays by index[array] in C and C++
#include <stdio.h>
int main()
{
int a=3, b = 5;
printf(&a["Ya!Hello! how is this? %s\n"], &b["junk/super"]);
printf(&a["WHAT%c%c%c %c%c %c !\n"], 1["this"],
2["beauty"],0["tool"],0["is"],3["sensitive"],4["CCCCCC"]);
return 0;
}
This is one of the practice problems that I was given in class. I'm trying to figure out how this code was able to get to the output, which is
Hello! how is this? super That is C !
The &a[" %s"] operation. How does that work? along with the seco