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

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...)

--
William

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