Deutsch English Français Italiano |
<v8vm2i$2oc1v$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: Thiago Adams <thiago.adams@gmail.com> Newsgroups: comp.lang.c Subject: Re: how cast works? Date: Wed, 7 Aug 2024 08:33:38 -0300 Organization: A noiseless patient Spider Lines: 9 Message-ID: <v8vm2i$2oc1v$2@dont-email.me> References: <v8vlo9$2oc1v$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 07 Aug 2024 13:33:39 +0200 (CEST) Injection-Info: dont-email.me; posting-host="18c3ce62a11a8ba38e7d744c933446be"; logging-data="2895935"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yOQu3gQi3KANMsBQvPJuk3IuQANhFp1A=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:DRUkc+u+hcHsuk2p8W5i/Cqngyg= In-Reply-To: <v8vlo9$2oc1v$1@dont-email.me> Content-Language: en-US Bytes: 1221 I also would like to understand better why integer promotions were created. My guess..it is because the values are used in registers and there is no "char" size register so the values are converted in a bigger type. Is my guess correct?