diff options
author | Levi Bostian <levi.bostian@gmail.com> | 2013-08-31 16:36:16 -0500 |
---|---|---|
committer | Levi Bostian <levi.bostian@gmail.com> | 2013-08-31 16:36:16 -0500 |
commit | dfd8afb4969c76b71a852e7bc8378b7e7f8f4bb3 (patch) | |
tree | 98d27ee538d8f49f49230e4be21bd12fc52e9489 /c.html.markdown | |
parent | 5c711eb30fe8cd810627742a30c016f458bd773c (diff) |
Add ASCII chars to Types of C file.
Diffstat (limited to 'c.html.markdown')
-rw-r--r-- | c.html.markdown | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/c.html.markdown b/c.html.markdown index c6fee5d7..96f253b7 100644 --- a/c.html.markdown +++ b/c.html.markdown @@ -98,6 +98,10 @@ int main() { unsigned int ux_int; unsigned long long ux_long_long; + // chars inside single quotes '*' are ASCII versions of + '0' //==> 48 on the ASCII table. + 'A' //==> 65 on the ASCII table. + // sizeof(T) gives you the size of a variable with type T in bytes // sizeof(obj) yields the size of the expression (variable, literal, etc.). printf("%zu\n", sizeof(int)); // => 4 (on most machines with 4-byte words) |