Of course you got the size of a pointer as a result of doing sizeof "string".
"string" is in fact a "pointer" to a constant string. I believe that sizeof
is the only portable way to dtermine how large data types (eg. char's) are in C.
--
Peter Wolfe
Microtel Pacific Research
..decvax!microsoft!ubc-vision!mprvaxa!wolfe