Recently, i came across a c language code snippet. That is:
Code:
#include<stdio.h>
#include<conio.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"]);
getch();
}
This program produced output:
Hello! how is this? super
That is C !
I can't under stand how this works? I've used Microsoft Visual C++ compiler. Please explain this code.
Also suggest some websites where can I learn such type of advanced programming.
Thanks in advance.