🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4674

Re: brief summary of Technical Corrigendum 2

#4674
From: Paul Eggert
Date: Fri, 19 Jan 1996 10:01
13 lines
939 bytes
msb@sq.com (Mark Brader) writes:

>Paul Eggert (eggert@twinsun.com) writes:

>> * String and wide string literals need not be distinct even if not identical,
>>   so long as their elements have appropriate values.

>This may be momentarily puzzling, if you don't realize that "their
>elements" includes the trailing null character.

My favorite bit of trivia along these lines is that it is possible
for two non-identical string literals to have the same address!
The null character is the key.
Technical Details
Message-ID: <4dnq5b$t9a@der.twinsun.com>
Path: arc1-ca.pugleaf.net!news.cs.ucla.edu!twinsun!not-for-mail
References: <4d554m$q4b@news1.halcyon.com> <4dfgdt$se6@der.twinsun.com> <1996Jan16.174120.3636@sq.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.cs.ucla.edu!twinsun!not-for-mail
From: eggert@twinsun.com (Paul Eggert)
Newsgroups: comp.std.c
Subject: Re: brief summary of Technical Corrigendum 2
Date: 19 Jan 1996 02:01:15 -0800
Organization: Twin Sun Inc, El Segundo, CA, USA
Message-ID: <4dnq5b$t9a@der.twinsun.com>
References: <4d554m$q4b@news1.halcyon.com> <4dfgdt$se6@der.twinsun.com> <1996Jan16.174120.3636@sq.com>
NNTP-Posting-Host: der.twinsun.com