sizeof "string"

Peter Wolfe wolfe at mprvaxa.UUCP
Sat Feb 4 03:02:02 AEST 1984

As usually happens when you type first and investigate and think later
problems result.  My apologies for that ridiculous bit about sizeof "string".
Of course the compiler that produces "2" foe sizeof "string" is in error.

Resolved to think first type later then find out the truth.

	Enough about NULL and 0 and pointers etc.  The language isn't 
	perfect.  How about somebody who knows more about the proposed
	ANSI standard giving us more details.


    Peter Wolfe
    Microtel Pacific Research

More information about the Comp.lang.c mailing list