Break Statement in C
- Siddharth Sharma
- Oct 8, 2025
- 2 min read
The "break" statement in C programming का use loop या switch-case के execution को तुरंत रोकने के लिए किया जाता है। जब भी loop या switch में break statement मिलती है, program का control तुरंत उस block के बाहर चला जाता है।
Break Statement
Definition: C के loop (for, while, do-while) और switch-case statements में break statement का use किसी condition के True होने पर loop या case को बीच में ही terminate करने के लिए किया जाता है।
जब break statement चलती है, control loop या switch के बाहर चला जाता है, इस तरह से iteration continue नहीं होती।
Break statement का most common use conditional statements (if statement) के साथ किया जाता है, जिससे जैसे ही condition fulfill हो, loop terminate हो जाए।
Syntax
break;
इसे बस वैसे ही block के अंदर लिख देना है जहाँ पर आपको execution terminate करना है।
Example: For Loop में Break Statement
#include <stdio.h>
int main() {
int i;
for(i = 1; i <= 10; i++) {
if(i == 6) {
break;
}
printf("%d ", i);
}
return 0;
}Output:1 2 3 4 5 6
Explanation:इस program में जैसे ही i की value 6 होती है, अगर if condition true होती है, तब break statement execute होती है और loop terminate हो जाता है, इसलिए सिर्फ 1 से 6 तक के numbers print होते हैं।

Application Areas
Break statement का use nested loops, switch-case, और किसी भी repetitive or conditional block से control बाहर लाने के लिए किया जाता है।
इसे unconditional use करना unsafe हो सकता है, इसलिए हमेशा किसी condition के साथ use करना चाहिए।
Summary Table
C Statement | Purpose (Hindi-English Mix) |
break; | Loop ya switch-case को तुरंत terminate करता है |
Break statement का use smart तरीके से करना चाहिए — generally conditions (if) के साथ — ताकि loop या switch-case सिर्फ specific condition पर break हो सके और बाकी समय normally execute हो।




Comments