C break vs continue 🥊

preview_player
Показать описание
C break & continue tutorial example explained

#C #continue #break
Рекомендации по теме
Комментарии
Автор

#include <stdio.h>

int main()
{
// continue = skips rest of code & forces the next iteration of the loop
// break = exits a loop/switch

for(int i = 1; i <= 20; i++)
{
if(i == 13)
{
continue;
//break;
}
printf("%d\n", i);
}

return 0;
}

BroCodez
Автор

Thank you so much for helping me out ! Really, appreciated

marouanees-said
Автор

continue seems realy helpful, bravo for this great video

vgpnked
Автор

whatever anything before or after or anytime

ryanalnaser
Автор

How did u get c running in vscode with the included terminal?

yusufkaa