summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--c.html.markdown4
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)