How does compiler understand the pointer type?

Posted by Narek on Stack Overflow See other posts from Stack Overflow or by Narek
Published on 2010-06-14T14:26:58Z Indexed on 2010/06/14 14:32 UTC
Read the original article Hit count: 198

Filed under:
|
|

How c++ compiler understands the pointer type? As I know pointer has a size equal to WORD of the OS (32 or 64). So does it store dome info in that 32(or 64) bits about type? Just because you can not have a pointer on one type and assign to that pointer another pointer with a different type.

© Stack Overflow or respective owner

Related posts about c++

Related posts about compiler