Тёмный

Break And Continue Statement || HSC ICT with AT Babon || Chapter 5, C Programming Bangla - Part 15 

StudyPedia Bd.
Подписаться 4,9 тыс.
Просмотров 2 тыс.
50% 1

HSC ICT || Chapter 5 || C Programming-Part 15 || Break And Continue Statement in C Programming
Subscribe Our Channel : / @studypediabd
অধ্যায় ৩-১ সংখ্যা পদ্ধতির সবগুলো ভিডিও দেখতে ক্লিক করো- • Playlist
বাংলা ব্যাকরণের সবগুলো ভিডিও দেখতে - • BANGLA with AT Babon
Like Our FB Page- / studypediabd
Join Our Fb Group- HSC ICT with AT Babon / 883339322164023
The break statement in C programming has the following two usages −
When a break statement is encountered inside a loop, the loop is immediately terminated and the program control resumes at the next statement following the loop.
It can be used to terminate a case in the switch statement (covered in the next chapter).
If you are using nested loops, the break statement will stop the execution of the innermost loop and start executing the next line of code after the block.
The continue statement in C programming works somewhat like the break statement. Instead of forcing termination, it forces the next iteration of the loop to take place, skipping any code in between.
For the for loop, continue statement causes the conditional test and increment portions of the loop to execute. For the while and do...while loops, continue statement causes the program control to pass to the conditional tests.
#BreakContinue
#BreakStatement
#ContinueStatement

Опубликовано:

 

20 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@SovietUnion-l5k
@SovietUnion-l5k Год назад
Sei sei
@foot---ball641
@foot---ball641 Год назад
bhalo poriechen khub valo laglo thanks
@kazimohammad2285
@kazimohammad2285 2 года назад
Nice
@refayet9172
@refayet9172 2 года назад
Nice
Далее