Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: C declarations Date: Mon, 06 Mar 2017 11:27:51 -0800 Organization: None to speak of Lines: 27 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: mx02.eternal-september.org; posting-host="249260d50d827d4343a089464177f34d"; logging-data="30173"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2QeHvp5xhi33jGqL2xXBZ" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:q3xqwU6UT++Mh/uEPrBex4KrpVo= sha1:NJwnyZ/h+WuJi5lDioYp3nc5KnQ= Xref: csiph.com comp.lang.c:105504 Andrey Tarasevich writes: > On 1/30/2017 5:00 AM, BartC wrote: >> >> #include >> >> a=10, b=20, c=30; >> >> int main(void){} >> >> This compiles fine. But not if the declarations are inside a function. > > The CRM document (https://www.bell-labs.com/usr/dmr/www/cman.pdf) states > the following: [snip] I presume "CRM" stands for "C Reference Manual". I've never heard it referred to that way, and these days CRM more commonly stands for "Customer Relationship Management". Also, cman.pdf is just one of a number of versions of the "C Reference Manual". -- Keith Thompson (The_Other_Keith) kst-u@mib.org Working, but not speaking, for JetHead Development, Inc. "We must do something. This is something. Therefore, we must do this." -- Antony Jay and Jonathan Lynn, "Yes Minister"