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

A

Andreas Kahari

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.
 
P

pete

Andreas said:
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.
 
A

Andreas Kahari

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...
 
D

Dan Pop

In said:
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
 
M

Mark McIntyre

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.
 
P

Park, SungJae

I found sizeof in table of Precedence hierarchy for C.

is it a operation? which have precedence..?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top