C_41 Break statement in C | C Language Tutorials

Поделиться
HTML-код
  • Опубликовано: 3 окт 2024
  • In this lecture we will learn:
    What is break statement in C?
    How to use it?
    Need of break statement
    Working and Flowchart of break statement in C
    C Programming Playlist: • Programming in C
    *****************************************************
    Connect & Contact Me:
    Jenny's Lecture Hindi: / @jennyslectureshindi
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    *****************************************************
    More Playlists:
    C++ Tutorials for beginners: • Lec 1: How to Install ...
    Best Python Tutorials for Beginners: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Dynamic Programming: • Dynamic Programming
    Operating Systems tutorials: // • Operating Systems
    DBMS Tutorials: • DBMS (Database Managem...
    #loop #cprogramming #coding
    #Cprogrammingtutorials
    #breakinCprogramming
    #jennyslectures

Комментарии • 214

  • @Abii_r
    @Abii_r 3 года назад +217

    I think we don't want unacademy when Jenny mam is here!! ❤✨

  • @NikhilSarnaik-z5k
    @NikhilSarnaik-z5k Год назад +11

    int sum = 0;
    do{
    int num ;
    printf("Enter the number to add it into the sum :");
    scanf("%d",&num);
    if(num

    • @vinaytummapala260
      @vinaytummapala260 3 месяца назад

      But it prints infinite sums

    • @superspider4795
      @superspider4795 2 месяца назад

      ​@@vinaytummapala260 it's becoz condition in while is always true

  • @y1_ff
    @y1_ff Год назад +9

    Usage of the 'break' Statement 01:39
    Example Using 'break' with a 'for' Loop 03:27
    Early Exit from a Loop with 'break' 05:32
    Using 'break' in a 'for' Loop 07:37
    Using 'break' with Indefinite Loops 09:34
    Handling Infinite Loops with 'break' 11:33
    Conclusion and Upcoming Topics 13:33

  • @anujeetkunturkar780
    @anujeetkunturkar780 3 года назад +44

    2:26 Lecture Starts

  • @hasnainmemon8120
    @hasnainmemon8120 Год назад +7

    The best teacher ever!!
    Code:
    #include
    main()
    {
    int a,i=1,sum=0,average;
    do
    {
    printf("Enter any number:
    ");
    scanf("%d",&a);
    i++;
    if(a

    • @18fatima15
      @18fatima15 6 месяцев назад +1

      calculating average wasn't required here though............. But anyways, the program has no errors

  • @anju7334
    @anju7334 2 года назад +38

    Now I am feeling that I am learning programming ❤️

  • @NagaCreations4444
    @NagaCreations4444 8 месяцев назад +1

    thank you so much MADAM to teaching us🥰🥰
    i done with do while
    PROGRAM:
    #include
    void main() {
    int a,sum=0;
    do
    { printf("enter a number:");
    scanf("%d",&a);
    if(a

  • @harjithshiva445
    @harjithshiva445 3 года назад +6

    The way you teach makes me get a lot of concepts in a short span of time ,please continue the DAA playlist mam plz...................

  • @mamtamaitin7248
    @mamtamaitin7248 3 года назад +21

    Ma'am,
    Can you please make Python, Java in-depth video lectures soon.
    Also, please make web development series.
    You teach very well.

  • @dawntoduskhappy7484
    @dawntoduskhappy7484 3 года назад +9

    Your lectures are helping me alot !!! Thanks ma'am

  • @siddharthsingh-cw4sd
    @siddharthsingh-cw4sd 3 года назад +2

    I just saw your play list and im i love with your channel

  • @170_akashgupta_cse2
    @170_akashgupta_cse2 2 года назад +7

    Mam I can also use hardcoding with for loop instead of while loop in that particular questions
    For(I=1;;I++)

  • @staypositive3764
    @staypositive3764 2 года назад +6

    Mam your teaching skills are really amazing 😍😍🔥🔥

  • @Curlie118
    @Curlie118 8 месяцев назад +26

    👇Who are seeing this in 2024 ✨

    • @Bharath-s7g
      @Bharath-s7g 2 месяца назад

      What r u studying bro...?

    • @Curlie118
      @Curlie118 2 месяца назад

      ​@@Bharath-s7gBE

  • @HarshaVardhan_Avvari_2030
    @HarshaVardhan_Avvari_2030 3 года назад +10

    Mam Why don't u do a tutorial for python programming as more important than c language @ focus on it after completion of c language

  • @abelbagonza7783
    @abelbagonza7783 2 года назад +5

    we also need a video on differences between variables and constants

  • @shivanshusamadhiya9416
    @shivanshusamadhiya9416 3 года назад +6

    Mam please make a play list of java or web development or python or c++ in depth

  • @anuveerandi2631
    @anuveerandi2631 3 года назад +5

    hi need more lectures on c programming....please

  • @nilanthathisera4066
    @nilanthathisera4066 Год назад +2

    Excellent explaination 🥰🥰.thankyou very much

  • @lalit6880
    @lalit6880 Год назад +2

    do while code for above program
    #include
    #include
    int main()
    {
    int a,sum=0;
    do
    {
    printf("Enter a Number=");
    scanf("%d",&a);
    if(a

  • @someshkumar988
    @someshkumar988 3 года назад +2

    Mam there are some mistake in this video at for loop inside if we write ( a > 5 ll a

  • @_KalaimaniG
    @_KalaimaniG 3 года назад +6

    Mam can u pls post java courses also Mam we are eagerly waiting for java class Mam

  • @tuhinsheikh8670
    @tuhinsheikh8670 Год назад +1

    great job mam.........love from Bangladesh

  • @mittasidharth7292
    @mittasidharth7292 Год назад +2

    2:27 lecture starts

  • @s.ananthakumar1943
    @s.ananthakumar1943 Год назад +1

    #include
    #include
    int a,i=1,sum=0;
    int main()
    {
    do
    {
    printf("enter the number:
    ");
    scanf("%d",&a);
    if(a

  • @chinninaresh2314
    @chinninaresh2314 3 года назад +5

    Madam pls start core Java also

  • @DivyanshuRathodCS
    @DivyanshuRathodCS 3 года назад +2

    Thanks

  • @tithighosh2169
    @tithighosh2169 3 года назад +4

    Ma'am please upload other videos of c as soon as possible.

  • @SachinKumar-ym5fn
    @SachinKumar-ym5fn 3 года назад +1

    thanks for help all students and other people

  • @jackbhai-j8u
    @jackbhai-j8u 10 месяцев назад +1

    Mam please do lectures in hindi as it is in demand these days....

  • @Abdirizakmrashid
    @Abdirizakmrashid 2 года назад

    Thanks

  • @jyotijuyal4207
    @jyotijuyal4207 Год назад +1

    You are wonderful teacher mam ❤❤😇😇 Bestest way of teaching.

  • @softwarekinga2z995
    @softwarekinga2z995 3 года назад +2

    Mam please do videos on network security and cyber security..

  • @Manam_Suresh_official
    @Manam_Suresh_official 3 года назад

    I fallow your data structure and DBMS I LIKE UR VOICE AS WELL AS YOUR CLASSES

  • @leelataddi9940
    @leelataddi9940 2 года назад +3

    Mam could you plzz make full playlist on python, java plzzz mam

  • @aashishkumar5520
    @aashishkumar5520 3 года назад +3

    Mam you are best teacher ❤️❤️❤️❤️❤️🙏🙏🙏🔥🔥🔥🔥🔥🔥😎

  • @rinkulamba1596
    @rinkulamba1596 3 года назад +3

    Hello mam...gd evening
    May I know that have you made any video on OSI model or TCP/IP model

  • @anjanisivarambonam9895
    @anjanisivarambonam9895 3 года назад +5

    madam please make a playlist on python....otherwise please tell me the best source to learn python because more advanced technologies depends on python like ML ,AI....

  • @pmdinnesh1283
    @pmdinnesh1283 Год назад +1

    #include
    #include
    void main()
    {
    int a,sum=0;
    clrscr();
    do
    {
    Printf("enter a number :");
    Scanf("%d",&a);
    If(a

  • @JayashreeUliveni-l9s
    @JayashreeUliveni-l9s Месяц назад

    Mam in do while loop
    Can we use assignment operator?

  • @diyabora7794
    @diyabora7794 Год назад

    #include
    int main()
    { int i=0,sum=0,a;
    do
    {
    printf("enter a
    ");
    scanf("%d",&a);
    if(a

  • @isaac-victorshonowo1838
    @isaac-victorshonowo1838 11 месяцев назад

    Watched and Understood ❤

  • @Emundadhu
    @Emundadhu 3 года назад +2

    Please do teach us AI mam if possible
    If not possible teach us atleast basics for beginners

  • @ifhammohamed1955
    @ifhammohamed1955 2 года назад +11

    #include
    #include
    int main()
    {
    int a ,sum=0;
    do
    {
    printf("Enter the number:");
    scanf("%d",&a);
    if(a

    • @Op_Decentrailiser
      @Op_Decentrailiser 2 года назад +3

      #include
      void main()
      {
      int i=1,a,sum=0;
      do
      {
      printf(" enter a value ");
      scanf("%d",&a);
      if(a0);
      printf("sum is %d",sum);
      } /* Break using do while Loop */

    • @Op_Decentrailiser
      @Op_Decentrailiser 2 года назад

      What about this

    • @tamiltrendzone1568
      @tamiltrendzone1568 2 года назад

      What if we place the your total printf statement within do rather than using it in while

  • @simrandeepsingh3622
    @simrandeepsingh3622 3 года назад +2

    hii nyc work mam

  • @dreypraydev
    @dreypraydev Год назад

    #include
    int main() {
    int a, sum = 0;
    do {
    printf("Enter number: ");
    scanf("%d", &a);
    if (a < 0) {
    break;
    }
    sum = sum + a;
    } while (1);
    printf("sum will be %d", sum);
    return 0;
    }

  • @ArjunSonpule
    @ArjunSonpule 8 месяцев назад

    Do you explain by taking the example program to coming in exams 🙏🙏🙏

  • @kranjith1433
    @kranjith1433 3 года назад +2

    Madam i have completed intermediate... So can i learn the c, java, python?

  • @Aryan_editK
    @Aryan_editK 2 года назад +2

    Did this program with "do while".😇
    #include
    int main()
    {
    int a, sum = 0;
    do
    {
    printf("Enter a number:
    ");
    scanf("%d", &a);
    if (a

  • @debashishgogoi4827
    @debashishgogoi4827 3 года назад +3

    Mam ..can I solve data structure questions In c language in campus interview ?

  • @richards8160
    @richards8160 Год назад +1

    #include
    int main(){
    int i=0,a,sum=0;
    do{
    printf("Enter a number:",a);
    scanf("%d",&a);

    if(a

  • @parthshroff7357
    @parthshroff7357 Год назад

    13:01 mami had a small doubt in the given code sequence
    while (condition){. \\loop1
    for(condition1;condition2;condition3){. \loop 2
    break;
    }
    }
    mam this above break will throw the cursor outside loop 2 or both loops?

  • @vinitpandey5242
    @vinitpandey5242 3 года назад +5

    Ma'am , are u going to make video for paid subscription?
    Please ma'am I request to you please don't do like this because it is very helpful for us and I personally can't afford your paid subscription.

  • @sulectures2773
    @sulectures2773 3 года назад +1

    Nice ma'am tq so much

  • @Roshan-ln8sf
    @Roshan-ln8sf 3 года назад +1

    Mam I'm not forcing I'm requesting if u to post some vedio about GRE exam
    Plz mam it's a request not a demand.. 😊

  • @aasif3103
    @aasif3103 Год назад

    thanks madam😊 pahli baar coding sikhne me maja aa raha hai 😅😅😂😛

  • @lovestatusofficial5154
    @lovestatusofficial5154 Год назад

    #include
    #include
    void main(){
    int a,sum=0;
    do{
    printf("Enter an number ");
    scanf("%d",&a);
    if(a

  • @mihirlikhar4497
    @mihirlikhar4497 Год назад

    Tnx mam for your support

  • @abhishektiwary2123
    @abhishektiwary2123 3 года назад

    Thank you❤

  • @Krishnaveni-02
    @Krishnaveni-02 Год назад +1

    Need examples

  • @SanjeevYadav-dr7cy
    @SanjeevYadav-dr7cy 3 года назад +1

    Mam please give me a idea to lern c level programing form starting

  • @sandeshv6721
    @sandeshv6721 3 года назад +2

    Mam basic problem solving programming...in c
    .. video😶

  • @anandhus4361
    @anandhus4361 Год назад

    Ma am why is sum =0 necessary or is sum alone good for declaring variable

  • @Atul.Kumar07
    @Atul.Kumar07 6 месяцев назад

    Good evening! I want to add only even number. But my program add odd number. if(n%2==0)

  • @raghavsanoria528
    @raghavsanoria528 Год назад

    #include
    int main() {
    int a,sum=0;
    do
    {
    printf("Enter a number : ");
    scanf("%d",&a);
    if(a

  • @sureshramisetti1996
    @sureshramisetti1996 10 месяцев назад

    Python programming tutorial videos for beginners is available in your channel madam

  • @harjithshiva445
    @harjithshiva445 3 года назад +2

    mam please continue with the DAA subject mam

  • @MHKCODING
    @MHKCODING 11 месяцев назад

    Mam, before sum, Can we write else statement?

  • @harshamedicharla
    @harshamedicharla 11 месяцев назад

    #include
    int main() {
    int sum=0, a;
    do
    {
    printf("enter integer number:" );
    scanf("%d",&a);
    sum+=a;
    }while(a>0);
    printf("%d", sum);
    return 0;
    }❤❤

  • @mamathachalapala3686
    @mamathachalapala3686 Год назад

    Can we write the scanf statement before while loop? Mam

  • @izel_5
    @izel_5 Год назад

    Thank you mam ❤

  • @KeerthiGovindasu
    @KeerthiGovindasu 10 месяцев назад

    thank you maam

  • @imcrushed
    @imcrushed Год назад

    Ma'm you are looking like an angel... 🙈🙈

  • @sonalikawadibhasme8754
    @sonalikawadibhasme8754 3 года назад +2

    Thank you ma'am 🙇‍♀️

  • @shivasmart967
    @shivasmart967 Год назад

    tq mam

  • @jyotiraghorte6539
    @jyotiraghorte6539 Год назад

    What If we give the value of a=0??

  • @karthickambrish
    @karthickambrish 3 года назад

    Awesome....

  • @isaacl.quelemine8775
    @isaacl.quelemine8775 Год назад

    #include
    #include
    int main()
    {
    int a,sum=0;
    do{
    printf("Enter number: ");
    scanf("%d",&a);
    if(a

  • @abhirajsaini01
    @abhirajsaini01 2 года назад +1

    Mam It is better that you should taught us hindi.U will better explain things in hindi instead of english

  • @ShubhamSingh-qf1qi
    @ShubhamSingh-qf1qi 8 месяцев назад

    Your for loop code shows error in vs code....is shows break statement not within loop or switch

  • @blessyjenepha7347
    @blessyjenepha7347 2 года назад

    At 11:05 why -10(-ve's) is not included in sum ( I mean in adding) ???

  • @mksmohitkumarsingh8285
    @mksmohitkumarsingh8285 3 года назад +1

    Mam when will the pointer come.
    And whenever you come then please teach in live class

  • @shivjikumarsingh6470
    @shivjikumarsingh6470 3 года назад +3

    Mam after break ; ya fir : ye
    Compulsory for program..

  • @madhulathakattunga
    @madhulathakattunga Год назад

    Mam go to statement

  • @santanukumardas2058
    @santanukumardas2058 3 года назад

    super intelect

  • @premraj1456
    @premraj1456 3 года назад

    All dout clear mam

  • @nikhilbhardwaj9000
    @nikhilbhardwaj9000 2 года назад +1

    plzz mam hindi we are unable to execute the lecture in our mind in english language

  • @SachinKumar-ym5fn
    @SachinKumar-ym5fn 3 года назад +1

    please Mam array jaldee star kar do
    mere second semester ke exam hai

  • @food8814
    @food8814 3 года назад

    mam plz continue c progamming playlist

  • @karanshankar6705
    @karanshankar6705 3 года назад +1

    Came only to see you.

  • @rajeshwarimeti4087
    @rajeshwarimeti4087 Год назад

    just ooosm mam 😇😇😇😇

  • @Manam_Suresh_official
    @Manam_Suresh_official 3 года назад +1

    I like ur voice madam

  • @PanduriChandini-ms7sd
    @PanduriChandini-ms7sd 2 месяца назад

  • @ashishkemkar09
    @ashishkemkar09 Год назад

    Plz can any one explain how while(1)works

    • @jackbhai-j8u
      @jackbhai-j8u 10 месяцев назад

      It is a infinite loop and the loop won't end at all because 1 is always true condition.

  • @biswajitpaloi2121
    @biswajitpaloi2121 3 года назад

    Mam plz complete first
    Next manth my exm
    So plz,,, 🙏

  • @sanchay_khatwani
    @sanchay_khatwani 2 года назад

    😍nice video

  • @mihirkumar629
    @mihirkumar629 9 месяцев назад

    int age;
    char ch;
    printf("Enter your age ");
    scanf("%d",age);
    printf("
    Enter first letter of your name");
    scanf("%c",ch);
    if(age>18 && age

  • @jotheeswaran.s3357
    @jotheeswaran.s3357 2 года назад

    i found mistake in for loop program code you written capital letter for sum

  • @zahid9095
    @zahid9095 Год назад

    Can 'break statement' use to break function?

    • @nazansari9902
      @nazansari9902 Год назад

      No, we can't use the break statement in the function to come out of the function. To exit from the function we use a "return" statement.

  • @sejalrai30
    @sejalrai30 3 года назад +1

    mam pls c jaldi khatam kijiye naa aap bohot achh padhai h butr itna dheere mat padhaiye pls ffor god sake