What is the datatype of pointer in c?

后端 未结 6 2001
别那么骄傲
别那么骄傲 2021-02-04 08:56

are pointers of integer or unsigned datatype?

6条回答
  •  隐瞒了意图╮
    2021-02-04 09:50

    Pointers are of pointer type. If you're asking about how pointer values are represented in memory, that really depends on the platform. They may be simple integral values (as in a flat memory model), or they may be structured values like a page number and an offset (for a segmented model), or they may be something else entirely.

提交回复
热议问题