Hi guys. I got this code as a part of large one. I'm not able to understand its proper working.
Code:
int main()
{
int a,b=10;
a="" [b+++11]; //Need Explanation
printf(" %d ",a);
a="Hello World" [b+++11]; //Need Explanation
printf(" %d ",a);
return 0;
}
I mentioned comment in the code where I need explanation. This code will print two different values of a, but I'm not getting the working of initialization process as its pretty new to me.
Code:
a="Hello" [b+++11];
If anyone can explain it to me then I shall be highly great full.
Thanks in advance.