Discussion: sizeof(ptr) = ?
Afficher un message
Vieux 22/10/2007, 09h13   #2
Ian Collins
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sizeof(ptr) = ?

William Xu wrote:
> I test it with char, short, int, long, float, double and struct
> pointers, all return 4 bytes. Does the standard say anything about
> sizeof a pointer? (I didn't find it in the standard...)
>

No, it is implementation specific.

--
Ian Collins.
  Réponse avec citation
 
Page generated in 0,04948 seconds with 9 queries