kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* why is this result ?
       [not found]     ` <CABJqhQOL7=EwaGORsWmuZTu8R3+pQOcYxBwbkxzqossrK7NB1w@mail.gmail.com>
@ 2013-01-18 23:40       ` horseriver
  0 siblings, 0 replies; only message in thread
From: horseriver @ 2013-01-18 23:40 UTC (permalink / raw)
  To: kernelnewbies

On Sat, Jan 19, 2013 at 09:15:23AM +0100, J?drzej Dudkiewicz wrote:
> >> Because it's not possible to have an object with nonzero size.  The
> >> address of every object must be unique, so they have to be separated by
> >> one byte anyway.
> >
> >   thanks!
> >   Here I do not define a object of type A ,just do sizeof operation to a A struct ,not a specified object.
> >   So if I defined A a , does  sizeof(a) have the same mean with sizeof(A)  ?
> >   what does the sizeof operator essentially?
> 
> Yes, sizeof(a) and sizeof(A) are identical. I understand sizeof(expr)
> as "tell me how many bytes I need to store result of expression expr"
.
When a is stored in one bytes, what is the mean or use of that byte data?

> -- 
> J?drzej Dudkiewicz
> 
> I really hate this damn machine, I wish that they would sell it.
> It never does just what I want, but only what I tell it.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-18 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20130118035015.GA3430@debian.localdomain>
     [not found] ` <50F9522E.5020508@redhat.com>
     [not found]   ` <20130118170515.GA2376@debian.localdomain>
     [not found]     ` <CABJqhQOL7=EwaGORsWmuZTu8R3+pQOcYxBwbkxzqossrK7NB1w@mail.gmail.com>
2013-01-18 23:40       ` why is this result ? horseriver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).