Discussion: sizeof(ptr) = ?
Afficher un message
Vieux 22/10/2007, 09h57   #5
William Xu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sizeof(ptr) = ?

Road Tang <roadtang@gmail.com> writes:

> it's implementation defined.
> e.g
>
> on 32-bit machine, sizeof(ptr) may be 32


Then, is it safe to say that sizeof(ptr) <= 32 ?

> and 64-bit machine it returns 64.


Similarly, sizeof(ptr) <= 64 ?

--
William

http://williamxu.net9.org
  Réponse avec citation
 
Page generated in 0,05185 seconds with 9 queries