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:
@@ -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.).
|
||||
|
Reference in New Issue
Block a user