comp.lang.c
[Top] [All Lists]

Re: sizeof(x)

Subject: Re: sizeofx
From: Ioannis Vranos
Date: Sun, 30 Mar 2008 23:08:39 +0300
Newsgroups: comp.lang.c

Ioannis Vranos wrote:
> 
> I first saw that only sizeof x is valid at the pdf hosted at
> http://cprog.tomsweb.net.


More specifically the above writes:

"sizeof      Returns size of operand in bytes; two forms:
                              1) sizeof(type)
                              2) sizeof expression"



> Then I checked the C99 standard and it mentions what is shown above.
> Clearly C99 doesn't mention parenthesized expression.

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy