From 3b5b0e22a7fb2ebcd6d92dc2fdec66e791aeaf7f Mon Sep 17 00:00:00 2001 From: P Karthik Chowdary <36704161+Yggdrasil09@users.noreply.github.com> Date: Wed, 30 Jan 2019 00:44:56 +0530 Subject: [PATCH] Added a conditional note on application of break and continue (#33298) --- guide/english/c/switch/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guide/english/c/switch/index.md b/guide/english/c/switch/index.md index 715d72adda..4a4618744c 100644 --- a/guide/english/c/switch/index.md +++ b/guide/english/c/switch/index.md @@ -12,6 +12,8 @@ We exit from the switch by `break`. If the `break` statement is not reached befo Each case must be a digit or a character i.e.. a constant but not a variable. +Note:- `break` and `continue` are applicable only with for, while and switch code blocks. + ## Syntax of switch...case ```c