Path: csiph.com!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: signed/unsigned - what will fail Date: Wed, 16 Aug 2023 13:26:00 -0700 Organization: None to speak of Lines: 13 Message-ID: <87bkf6loo7.fsf@nosuchdomain.example.com> References: <21d1ef97-8620-4115-b412-7279e0ef4d6bn@googlegroups.com> <7ffec8c7-1b4c-4c3c-9342-daed7af19dabn@googlegroups.com> <89f530cb-dd82-46f9-9567-a1f81e55d239n@googlegroups.com> <6fcfcd10-82e7-4ecb-8bec-e6292ff73322n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: dont-email.me; posting-host="15135efa85b793336b66170ecb85b528"; logging-data="3599848"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19iGUKEGqIBW1LyZBRoIvkY" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:QHS8M0cxQUBxF3ZILrdpO4kzdJw= sha1:8WxZ0XdiGJvmvxiSOc7shgDpCdk= Xref: csiph.com comp.lang.c:172407 Bart writes: [...] > Unfortunately, in C, string literals have type char*, and char* > strings are encountered everywhere, where they can store ASCII, > extended ASCII of various kinds, or UTF8. No, string literals are of type char[N], where N is the length of the literal plus 1. -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */