Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #157826

Re: what is a & ?

From Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups comp.lang.c
Subject Re: what is a & ?
Date 2020-12-27 12:03 -0800
Organization None to speak of
Message-ID <87tus781a6.fsf@nosuchdomain.example.com> (permalink)
References <rs6ar2$7nj$1@dont-email.me> <VzJFH.47724$192.7926@fx47.iad> <rs8rgi$bce$1@dont-email.me> <_8%FH.596024$b5kb.105900@fx15.ams4>

Show all headers | View raw


Bart <bc@freeuk.com> writes:
> On 27/12/2020 02:28, T wrote:
>> On 12/26/20 8:31 AM, Scott Lurndal wrote:
>>> T <T@invalid.invalid> writes:
>>>> Hi All,
>>>>
>>>> I the following code, I do beleive I hae everything
>>>> figured out, except for "&rawtime". It looks like it
>>>> is a time_t (long long integer or 64 bit integer).
>>>> What does the "&" do to the variable?
>>>
>>> https://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B
>>
>> Awesome!  Thank you!  I am going to save the list
>> in my documentation.
>
> Take care because that list seems be primarily for C++, although many
> operators are shared.

The table in that article distinguishes very clearly between operators
that are specific to C++ and those that appear on both languages.  I'm
not sure why you felt the need to warn about it.

> In C++, & is also used in parameter lists to indicate reference parameters.

Yes, but that's not an operator.

[snip]

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips Healthcare
void Void(void) { Void(); } /* The recursive call of the void */

Back to comp.lang.c | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

what is a & ? T <T@invalid.invalid> - 2020-12-25 19:31 -0800
  Re: what is a & ? fir <profesor.fir@gmail.com> - 2020-12-25 21:11 -0800
    Re: what is a & ? T <T@invalid.invalid> - 2020-12-25 21:37 -0800
  Re: what is a & ? "wolfgang bauer (D)" <schutz@gmx.de> - 2020-12-26 06:15 +0100
    Re: what is a & ? T <T@invalid.invalid> - 2020-12-25 21:37 -0800
  Re: what is a & ? scott@slp53.sl.home (Scott Lurndal) - 2020-12-26 16:31 +0000
    Re: what is a & ? T <T@invalid.invalid> - 2020-12-26 18:28 -0800
      Re: what is a & ? Bart <bc@freeuk.com> - 2020-12-27 12:31 +0000
        Re: what is a & ? David Brown <david.brown@hesbynett.no> - 2020-12-27 15:32 +0100
          Re: what is a & ? Bart <bc@freeuk.com> - 2020-12-27 14:53 +0000
            Re: what is a & ? David Brown <david.brown@hesbynett.no> - 2020-12-27 16:40 +0100
        Re: what is a & ? Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2020-12-27 12:03 -0800
          Re: what is a & ? Bart <bc@freeuk.com> - 2020-12-27 20:33 +0000
        Re: what is a & ? T <T@invalid.invalid> - 2020-12-27 17:43 -0800
          Re: what is a & ? David Brown <david.brown@hesbynett.no> - 2020-12-28 11:00 +0100
          Re: what is a & ? Bart <bc@freeuk.com> - 2020-12-28 11:16 +0000
        Re: what is a & ? T <T@invalid.invalid> - 2020-12-27 20:36 -0800
          Re: what is a & ? T <T@invalid.invalid> - 2020-12-27 20:48 -0800
    Re: what is a & ? Bonita Montero <Bonita.Montero@gmail.com> - 2020-12-27 18:30 +0100
  Re: what is a & ? John Bode <jfbode1029@gmail.com> - 2021-01-28 11:02 -0600

csiph-web