Pointer Size in 64-bit Operating System

Shervan360 1,681 Reputation points
2020-08-30T01:20:27.677+00:00

Hello,

I read in 64-bit OS pointer is 8-byte. My OS in 64-bit but pointer size is 4 bit.

21250-annotation-2020-08-29-211846.jpg

Developer technologies | C++
Developer technologies | C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
0 comments No comments
{count} votes

Answer accepted by question author
  1. WayneAKing 4,931 Reputation points
    2020-08-30T02:06:59.517+00:00

    >My OS in 64-bit but pointer size is 4 bit.

    Your operating system is not relevant. What determines the pointer
    size is for which platform you have built your program. If you
    build a Win32 program the pointers will be 32 bits. If you build
    a Win64 program the pointers will be 64 bits.

    • Wayne
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.