Ask Your Question
1

Does the size of a certain pointer always equal to four?

asked 2023-06-10 08:18:27 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-10 08:41:02 +0000

ladyg gravatar image

No, the size of a pointer depends on the architecture of the computer and the data type it points to. For example, on a 32-bit system, the size of a pointer is 4 bytes, but on a 64-bit system, it is typically 8 bytes. Additionally, the size of a pointer to a different data type can also vary depending on the size of that data type.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-10 08:18:27 +0000

Seen: 13 times

Last updated: Jun 10 '23