Pointers Flashcards
1
Q
What does a pointer store?
A
A memory address.
2
Q
what causes a memory fault or a segmentation fault?
A
Trying to access memory that isn’t allowed or in a way that isn’t allowed.
3
Q
What does the free command do?
A
Releases any memory that was assigned to a variable using malloc.