| Deutsch English Français Italiano |
|
<v6mas4$1v1rh$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!fu-berlin.de!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: James Kuyper <jameskuyper@alumni.caltech.edu> Newsgroups: comp.lang.c Subject: =?UTF-8?Q?Re=3A_technology_discussion_=E2=86=92_does_the_world_need?= =?UTF-8?B?IGEgIm5ldyIgQyA/?= Date: Wed, 10 Jul 2024 11:54:44 -0400 Organization: A noiseless patient Spider Lines: 13 Message-ID: <v6mas4$1v1rh$2@dont-email.me> References: <v66eci$2qeee$1@dont-email.me> <v68dsm$37sg2$1@dont-email.me> <87wmlzvfqp.fsf@nosuchdomain.example.com> <v6ard1$3ngh6$4@dont-email.me> <v6b0jv$3nnt6$1@dont-email.me> <87h6d2uox5.fsf@nosuchdomain.example.com> <v6d779$6rk5$2@dont-email.me> <v6e76u$c0i9$1@dont-email.me> <v6esqm$fian$2@dont-email.me> <v6f7vg$hgam$1@dont-email.me> <20240707164747.258@kylheku.com> <v6gl83$s72a$1@dont-email.me> <v6h8ao$ur1v$1@dont-email.me> <v6jhk3$1drd6$1@dont-email.me> <v6jiud$1dsjb$1@dont-email.me> <877cdur1z9.fsf@bsb.me.uk> <v6joi4$1epoj$1@dont-email.me> <871q42qy33.fsf@bsb.me.uk> <v6k6i0$1h4d3$1@dont-email.me> <87ed82p28y.fsf@bsb.me.uk> <v6m03l$1tf05$1@dont-email.me> <87r0c1nzjj.fsf@bsb.me.uk> <v6m716$1urj4$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Wed, 10 Jul 2024 17:54:45 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8ee0f6de059aa2561c515748b1f9a8ec"; logging-data="2066289"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aqn9XuQdX62FiWMIROvI0+L8AscMBljc=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:8es3fqQH3AGuWkZA99vQ5sZKPNw= Content-Language: en-US In-Reply-To: <v6m716$1urj4$1@dont-email.me> Bytes: 2425 On 10.07.2024 16:49, bart wrote: .... > "So if arrays aren't passed by value in C, and they aren't passed by > reference, then how the hell ARE they passed?!" The problem with that question is the same as the problem with the question "How are Justices of the US Supreme Court elected?". They aren't elected, so the question cannot be answered. Arrays cannot be passed in C, so the question of how they are passed also cannot be answered. You can pass a pointer to the start of an array or a pointer to the whole array; either way, the pointer is passed by value. You could also pass a struct containing an array; that struct is passed by value.