| Subject: | Re: Is cast operator unary or binary? How many operands? |
|---|---|
| From: | Richard Tobin |
| Date: | 30 Apr 2008 12:36:08 GMT |
| Newsgroups: | comp.lang.c |
In article <f6c6e3fe-d076-43be-9cb8-4d29da011908@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, JoseMariaSola <JoseMariaSola@xxxxxxxxx> wrote: >> >But in the case of cast the (only) operand is the expression the left, >> >not the type-name. [...] >So both following expressions have one operator and one operand? > sizeof(int) > (int)x *I* dont' consider it that way. I was just exploring the consequences of your suggestion. I would say that they have one and two operands respectively. -- Richard -- :wq |
| Previous by Date: | Temporarily close stdout?, Joakim Hove |
|---|---|
| Next by Date: | Re: Temporarily close stdout?, Willem |
| Previous by Thread: | Re: Is cast operator unary or binary? How many operands?, JoseMariaSola |
| Next by Thread: | Re: Is cast operator unary or binary? How many operands?, Chris Torek |
| Indexes: | [Date] [Thread] [Top] [All Lists] |