Quote:
Is the equality true in all versions of the ISO C Standard?
Yes.
The address of the first character of a string constant is a pointer to the string itself, and the name of an array is a pointer to the first element of that array.
Since a string is an array of characters, "bar" is a pointer to the first character in the string, and the address of the string is also a pointer to the first character. The two evaluate to the same address, so the two pointers are identical.
This will be the same in all versions of C, even though it looks like it should be wrong!