What does the line starting with double quote mean in C?

c

Solution

Surprisingly, it does have a meaning: it's an indexing into an array of characters that represent a string literal. Incidentally, this particular one indexes at `6`, which is outside the limits of the literal, and is therefore undefined behavior.

You can construct an expression that works following the same basic pattern:

char c = "quick brown fox"[3 << 1];

will have the same effect as

char c = 'b';

Problem

I was asked in one of the interviews, what does the following line print in C? In my opinion following line has no meaning: ``` "a"[3<<1]; ``` Does anyone know the answer?

Original source