| Deutsch English Français Italiano |
|
<vsjbef$1s0b3$1@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!eternal-september.org!.POSTED!not-for-mail From: Muttley@DastardlyHQ.org Newsgroups: comp.lang.c Subject: Re: "array" Date: Wed, 2 Apr 2025 12:43:59 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: <vsjbef$1s0b3$1@dont-email.me> References: <array-20250402114422@ram.dialup.fu-berlin.de> <array-20250402124600@ram.dialup.fu-berlin.de> Injection-Date: Wed, 02 Apr 2025 14:44:00 +0200 (CEST) Injection-Info: dont-email.me; posting-host="60d8c282138488f3c9d99b9a203a2d89"; logging-data="1966435"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+uUTGcQj3lLjR4Fv3O6g17" Cancel-Lock: sha1:ysbcPYj4Eb3B7foxEGR8DULjqWU= Bytes: 1484 On 2 Apr 2025 11:46:17 GMT ram@zedat.fu-berlin.de (Stefan Ram) wibbled: >ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted: >>C only defines "array type", not array, but it uses ISO/IEC 2382:2015 >>as a normative reference, and ISO/IEC 2382:2015 says: > > In practice, C programmers probably most often use > >|An array is a collection of values, all of the same type, >|stored contiguously in memory. >"C data types" (2025) - Wikipedia-Seite > > , but I have not yet found a way to derive this from the ISO C spec! > You can't define mixed type arrays and the members have to be contiguous in memory or half the standard library would fail.