23 lines
710 B
Markdown
23 lines
710 B
Markdown
|
---
|
||
|
title: Pointers
|
||
|
TARGET DECK: Obsidian::STEM
|
||
|
FILE TAGS: c17
|
||
|
tags:
|
||
|
- c17
|
||
|
---
|
||
|
|
||
|
## Overview
|
||
|
|
||
|
Pointers have the same size as the machine's word size since it should be able to refer to any virtual address.
|
||
|
|
||
|
%%ANKI
|
||
|
Basic
|
||
|
*Why* does a pointer's size match the machine's word size?
|
||
|
Back: Because it should be able to refer to any virtual address.
|
||
|
Reference: Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|
||
|
<!--ID: 1707493017246-->
|
||
|
END%%
|
||
|
|
||
|
## Bibliography
|
||
|
|
||
|
* Bryant, Randal E., and David O'Hallaron. *Computer Systems: A Programmer's Perspective*. Third edition, Global edition. Always Learning. Pearson, 2016.
|