Pointer Size in 64-bit Operating System

Shervan360 1,601 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

C++
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.
3,753 questions
0 comments No comments
{count} votes

Accepted answer
  1. WayneAKing 4,921 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 Answers by the question author, which helps users to know the answer solved the author's problem.