diff options
author | dacechavez <dacechavez@gmail.com> | 2013-08-15 12:12:19 +0200 |
---|---|---|
committer | dacechavez <dacechavez@gmail.com> | 2013-08-15 12:12:19 +0200 |
commit | 7cb78e94d24d7c768868fa4bd575a7572126cbe5 (patch) | |
tree | ec6501f636d1910027f88f6bb320e67669985d1f | |
parent | bc614fda28179f0b7eb98a9283cfc6721765b6cf (diff) |
Fixed 2 typos around function pointers
-rw-r--r-- | c.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c.html.markdown b/c.html.markdown index 2b50efa0..e8a26056 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -373,7 +373,7 @@ int area(rect r){ /////////////////////////////////////// /* At runtime, functions are located at known memory addresses. Function pointers are -much likely any other pointer (they just store a memory address), but can be used +much like any other pointer (they just store a memory address), but can be used to invoke functions directly, and to pass handlers (or callback functions) around. However, definition syntax may be initially confusing. @@ -394,7 +394,7 @@ Function pointers are usually typedef'd for simplicity and readability, as follo typedef void (*my_fnp_type)(char *); -// The used when declaring the actual pointer variable: +// Then used when declaring the actual pointer variable: // ... // my_fnp_type f; |