Skip to content

Commit 29e2744

Browse files
authored
Merge pull request #3181 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to master to sync with https://github.com/MicrosoftDocs/cpp-docs (branch master)
2 parents 6776d9e + aed7560 commit 29e2744

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/cpp/numeric-boolean-and-pointer-literals-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Sometimes it's important to tell the compiler how to interpret a literal, or wha
2222

2323
## Integer literals
2424

25-
Integer literals begin with a digit and have no fractional parts or exponents. You can specify integer literals in decimal, octal, or hexadecimal form. You can specify signed or unsigned types, and long or short types.
25+
Integer literals begin with a digit and have no fractional parts or exponents. You can specify integer literals in decimal, binary, octal, or hexadecimal form. You can optionally specify an integer literal as unsigned, and as a long or long long type, by using a suffix.
2626

2727
When no prefix or suffix is present, the compiler will give an integral literal value type **`int`** (32 bits), if the value will fit, otherwise it will give it type **`long long`** (64 bits).
2828

0 commit comments

Comments
 (0)