Deutsch English Français Italiano |
<vicque$15ium$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: question about linker Date: Fri, 29 Nov 2024 17:42:54 +0100 Organization: A noiseless patient Spider Lines: 27 Message-ID: <vicque$15ium$2@dont-email.me> References: <vi54e9$3ie0o$1@dont-email.me> <vi6sb1$148h7$1@paganini.bofh.team> <vi6uaj$3ve13$2@dont-email.me> <87plmfu2ub.fsf@nosuchdomain.example.com> <vi9jk4$gse4$1@dont-email.me> <vi9kng$gn4c$1@dont-email.me> <87frnbt9jn.fsf@nosuchdomain.example.com> <viaqh0$nm7q$1@dont-email.me> <877c8nt255.fsf@nosuchdomain.example.com> <viasv4$nm7q$2@dont-email.me> <vibr1l$vvjf$1@dont-email.me> <vic73f$1205f$1@dont-email.me> <20241129142810.00007920@yahoo.com> <vicfra$13nl4$1@dont-email.me> <20241129161517.000010b8@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 29 Nov 2024 17:42:55 +0100 (CET) Injection-Info: dont-email.me; posting-host="1cd76f73c030e28aa6d9843f10c4f882"; logging-data="1231830"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TCV0zxorMrJcHaHe309hB+GyOcbFfbYY=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Cancel-Lock: sha1:XRWHsTPYrru+wYeK4Sv9w8/DxAg= Content-Language: en-GB In-Reply-To: <20241129161517.000010b8@yahoo.com> Bytes: 2430 On 29/11/2024 15:15, Michael S wrote: > On Fri, 29 Nov 2024 13:33:30 +0000 > Bart <bc@freeuk.com> wrote: > >> * It allows a list of variable names in the same declaration to each >> have their own modifiers, so each can be a totally different type >> They can't have "totally different" types - they can have added indirection or array indicators, following C's philosophy of describing the type by how the variable is used: int x, *y, z[10]; Thus "x", "*y" and "z[i]" are all of type "int". C allows this, but I personally would be happier if it did not. As Michael says below, most serious programmers don't write such code. > > Not in every context. It is not allowed in function prototypes. Even > when it is allowed, it's never necessary and avoided by majority of > experienced programmers. > I'd guess, TimR will disagree with the last part. >