1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-13 10:14:58 +02:00

Merge pull request #312 from nathan-hoad/master

Fixed typo in c.html.markdown
This commit is contained in:
Adam Bard
2013-09-08 21:46:08 -07:00

View File

@@ -294,7 +294,7 @@ int main() {
printf("%zu, %zu\n", sizeof(px), sizeof(not_a_pointer)); printf("%zu, %zu\n", sizeof(px), sizeof(not_a_pointer));
// => Prints "8, 4" on a typical 64-bit system // => Prints "8, 4" on a typical 64-bit system
// To retreive the value at the address a pointer is pointing to, // To retrieve the value at the address a pointer is pointing to,
// put * in front to de-reference it. // put * in front to de-reference it.
// Note: yes, it may be confusing that '*' is used for _both_ declaring a // Note: yes, it may be confusing that '*' is used for _both_ declaring a
// pointer and dereferencing it. // pointer and dereferencing it.