|
|
|
|
|
|
st
without a hitch.const char * foo
.const
pointer but many compilers left char* able to point to string literals because of compatibility with old code).sizeof("vulcanologist")
. This is equivalent to char st[13] = "vulcanologist";
. But since you didn't specify the size of the array, the compiler automatically calculated this.
|
|