Will be printed "i".
Dereferencing of "x" will give the value "x[0] == 3".
"my string" will be converted to a const pointer to a given string.
We will get the following: 3[pointer+3]
This expression, according to the language rules, will be converted to *(3+pointer+3).
Thereby in brackets, we will get the offset on 6 symbols in the string "my string" and while dereferencing will get const char with value "i"
Login in to like
Login in to comment