Skip to content

Commit 77cdaef

Browse files
authored
Update numeric-boolean-and-pointer-literals-cpp.md
fix format.
1 parent 4a4edb3 commit 77cdaef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ ms.assetid: 17c09fc3-3ad7-47e2-8b48-ba8ae994edc8
77
---
88
# Numeric, boolean, and pointer literals
99

10-
A literal is a program element that directly represents a value. This article covers literals of type integer, floating-point, boolean, and pointer. For information about string and character literals, see [String and Character Literals (C++)](../cpp/string-and-character-literals-cpp.md). You can also define your own literals based on any of these categories. For more information, see [User-defined literals (C++)](../cpp/user-defined-literals-cpp.md)
10+
A literal is a program element that directly represents a value. This article covers literals of type integer, floating-point, boolean, and pointer. For information about string and character literals, see [String and Character Literals (C++)](../cpp/string-and-character-literals-cpp.md). You can also define your own literals based on any of these categories. For more information, see [User-defined literals (C++)](../cpp/user-defined-literals-cpp.md).
1111

12-
. You can use literals in many contexts, but most commonly to initialize named variables and to pass arguments to functions:
12+
You can use literals in many contexts, but most commonly to initialize named variables and to pass arguments to functions:
1313

1414
```cpp
1515
const int answer = 42; // integer literal

0 commit comments

Comments
 (0)