pvf@bridge2.UUCP (04/13/87)
According to K&R, p188, first paragraph: "When applied to an array, the result is the total number of bytes in the array." This calls out a deviation (for the purpose of sizeof) from the normal interpretation of an array name (or literal string) as a pointer to the object. The deviation is specifically so that sizeof() is useful for determining the size of the storage for an array. This calls for "sizeof("1234567890")" to be 11. This is in fact the value returned by both the Berkeley 4.2 and Sun C compilers.