Skip to content

Commit a88d228

Browse files
sgreposColin Robertson
authored andcommitted
Update auto-cpp.md (MicrosoftDocs#508)
Fixed typos
1 parent bb672db commit a88d228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cpp/auto-cpp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ In the previous example, myAuto is an int, not an int reference, so the output i
9191

9292
## Type deduction with braced initializers (C++14)
9393

94-
The following code exmample shows how to intialize an auto variable using braces. Note the difference between B and C and between A and E.
94+
The following code example shows how to initialize an auto variable using braces. Note the difference between B and C and between A and E.
9595

9696
```cpp
9797
#include <initializer_list>
@@ -229,4 +229,4 @@ int main()
229229
[Declarations and Definitions](declarations-and-definitions-cpp.md)<br/>
230230
[Examples of Lambda Expressions](../cpp/examples-of-lambda-expressions.md)<br/>
231231
[Initializers](../cpp/initializers.md)<br/>
232-
[decltype](../cpp/decltype-cpp.md)
232+
[decltype](../cpp/decltype-cpp.md)

0 commit comments

Comments
 (0)