Skip to content

Commit 5cc3774

Browse files
author
Colin Robertson
authored
Update try-except-statement.md
Fix heading levels.
1 parent 5bc92b8 commit 5cc3774

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/cpp/try-except-statement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ It is not valid to jump into a **__try** statement, but valid to jump out of one
6262

6363
For more information, see Knowledge Base article Q315937 : HOW TO: Trap Stack Overflow in a Visual C++ Application.
6464

65-
## The __leave Keyword
65+
### The __leave Keyword
6666

6767
The **__leave** keyword is valid only within the guarded section of a **try-except** statement, and its effect is to jump to the end of the guarded section. Execution continues at the first statement after the exception handler.
6868

@@ -147,7 +147,7 @@ int main()
147147
}
148148
```
149149

150-
## Output
150+
### Output
151151

152152
```Output
153153
hello

0 commit comments

Comments
 (0)