Hello
I just start to learn C. Is someone could help me to understand the x["AC"] on the line putchar( x["AC"] ); This is the only one line I do not understand in this code. Thanks a lot for help.
Code:#include <stdio.h>
int main()
{
int x;
for ( x = 0; x < 2; x++) {
putchar( "AC"[x] );
putchar( x["AC"] );
putchar( *("AC" + x) );
putchar( *"AC" + x );
putchar('\n');
}
return 0;
}