Velocity Reviews > sizeof, is it a macro? function? or operation?

sizeof, is it a macro? function? or operation?

Andreas Kahari
Guest
Posts: n/a

 11-05-2003
In article <bob18c\$7l5\$(E-Mail Removed)>, Park, SungJae wrote:
> I found sizeof in table of Precedence hierarchy for C.
>
> is it a operation? which have precedence..?
>

It's a unitary operator (operator taking one operand, just
like unitary minus). Its precedence is shown in the table you
refered to.

--
Andreas Kähäri

pete
Guest
Posts: n/a

 11-05-2003
Andreas Kahari wrote:
>
> In article <bob18c\$7l5\$(E-Mail Removed)>, Park, SungJae wrote:
> > I found sizeof in table of Precedence hierarchy for C.
> >
> > is it a operation? which have precedence..?
> >

>
> It's a unitary operator (operator taking one operand, just
> like unitary minus). Its precedence is shown in the table you
> refered to.

The standard uses the word "unary" instead of "unitary"
to describe operators taking only one operand.

--
pete

Andreas Kahari
Guest
Posts: n/a

 11-05-2003
In article <(E-Mail Removed)>, pete wrote:
> Andreas Kahari wrote:

[cut]
>> It's a unitary operator (operator taking one operand, just
>> like unitary minus). Its precedence is shown in the table you
>> refered to.

>
> The standard uses the word "unary" instead of "unitary"
> to describe operators taking only one operand.

I *did* think it looked a bit funny when I wrote it...

--
Andreas Kähäri

Dan Pop
Guest
Posts: n/a

 11-05-2003
In <bob18c\$7l5\$(E-Mail Removed)> "Park, SungJae" <(E-Mail Removed)> writes:

>I found sizeof in table of Precedence hierarchy for C.
>
>is it a operation? which have precedence..?

Did you read the title of the table carefully? In my C book, it's
called "Precedence and Associativity of Operators". What do you think
"operators" stands for?

And, anyway, I'm pretty sure your C book provides a description of the
sizeof "thing". Check its index.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: http://www.velocityreviews.com/forums/(E-Mail Removed)

Mark McIntyre
Guest
Posts: n/a

 11-05-2003
On Wed, 5 Nov 2003 15:36:24 +0000 (UTC), in comp.lang.c , Andreas
Kahari <(E-Mail Removed)> wrote:

>In article <(E-Mail Removed)>, pete wrote:
>> Andreas Kahari wrote:

>[cut]
>>> It's a unitary operator (operator taking one operand, just
>>> like unitary minus). Its precedence is shown in the table you
>>> refered to.

>>
>> The standard uses the word "unary" instead of "unitary"
>> to describe operators taking only one operand.

>
>I *did* think it looked a bit funny when I wrote it...

"unitary" is a type of local government in the UK.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>

----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---

Park, SungJae
Guest
Posts: n/a

 11-06-2003
I found sizeof in table of Precedence hierarchy for C.

is it a operation? which have precedence..?