3 ms·
A pointer to T is definitely a different type to T itself: http://codepad.org/ztUjn7g8 http://codepad.org/ztUjn7g8
by charliesome 14y ago
A pointer to T is definitely a different type to T itself: http://codepad.org/ztUjn7g8 http://codepad.org/ztUjn7g8
- rudiger 14y agoWhat I mean to say is, if T is a type, then a pointer to T is certainly different from T, but a "pointer to T" isn't a new type. The C type system includes the single type "pointer."