1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 09:44:24 +02:00

Add clarity to characters in character set.

This commit is contained in:
Levi Bostian
2013-08-31 21:16:32 -05:00
parent 2e8e2b5f35
commit ca32d7a5f2

View File

@@ -110,9 +110,9 @@ int main() {
unsigned int ux_int;
unsigned long long ux_long_long;
// chars inside single quotes '*' are character constants.
'0' //==> 48 on the ASCII table.
'A' //==> 65 on the ASCII table.
// chars inside single quotes '*' are integers in your character set.
'0' //==> 48 on the ASCII character set.
'A' //==> 65 on the ASCII character set.
// 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.).