Re: constant string doubt
On Tue, 16 Oct 2007 12:03:43 -0500, Jack Klein wrote:
> By definition in the C standard, the type of a string literal like
> "abcdefgh" in the above program is array of char, and NOT array of const
> char. "abcdefgh" is not constant data in C.
It is not const-qualified, but it is constant.
|