Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site inuxh.UUCP
Path: utzoo!watmath!clyde!burl!hou3c!hocda!houxm!mhuxl!ihnp4!inuxc!inuxh!slb
From: slb@inuxh.UUCP (Stephen Browning)
Newsgroups: net.lang.c
Subject: Re: sizeof "string"
Message-ID: <270@inuxh.UUCP>
Date: Thu, 2-Feb-84 08:46:19 EST
Article-I.D.: inuxh.270
Posted: Thu Feb  2 08:46:19 1984
Date-Received: Tue, 7-Feb-84 15:37:07 EST
References: <1623@rlgvax.UUCP> <451@mprvaxa.UUCP> <925@druxy.UUCP>
Organization: AT&T Consumer Products Div., Indianapolis
Lines: 15

After reading the concise and well referenced explanation of
sizeof("Hello\0,world."), I was reminded of a question raised by
the people at Ecosoft here in Indy while they were writing their
C compiler.

	Is "Hello\0, world." a string, or is it two strings?
	Put another way, is '\0' a legal character to embed
	within a string?

Remember, that just because a compiler accepts it, doesn't make it
right!  Any takers on this one?

	Stephen L. Browning
	AT&T CPL
	inuxh!slb