C_17 Operators in C - Part 5 (Logical Operators) | C Programming Tutorials

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • In this lecture we will discuss Logical Operators in C with example and C Program.
    Best C Programming Tutorials : • Programming in C
    *******************************************
    Connect & Contact Me:
    My Second Channel Link: bit.ly/354n7C7
    Facebook: / jennys-lectures-csit-n...
    Quora: www.quora.com/...
    Instagram: / jayantikhatrilamba
    Twitter: / khatrijenny
    *********************************************
    More Playlists:
    C++ Programming Tutorials: • Lec 1: How to Install ...
    Placement Series: • Placements Series
    Data Structures and Algorithms: https: • Data Structures and Al...
    Design and Analysis of Algorithms(DAA): • Design and Analysis of...
    Python Full Course: • Python - Basic to Advance
    Printing Pattern in C: • Printing Pattern Progr...
    Dynamic Programming: • Dynamic Programming
    Operating Systems: // • Operating Systems
    DBMS: • DBMS (Database Managem...
    #cprogramming #jennyslectures #programming #datatypes #clanguage

КОМЕНТАРІ • 443

  • @venkatakrishnareddykarri6603
    @venkatakrishnareddykarri6603 2 роки тому +151

    In the example that's used to explain logical AND, a = 10 and b = 5, so b < a becomes TRUE. But while explaining, it's stated as FALSE, which needs to be corrected.

  • @akuruyajoshua719
    @akuruyajoshua719 Рік тому +115

    You're a life saver ma'am.
    RESULT 1 : 1
    RESULT 2: 0

    • @meghanakondeboina4808
      @meghanakondeboina4808 Рік тому +20

      Hey both are one right ?

    • @lucky4450
      @lucky4450 Рік тому +1

      Result1=1
      Result 2=0

    • @rachitparashar1243
      @rachitparashar1243 Рік тому +5

      @@meghanakondeboina4808 no 1st is 1 second is 0 bcz after result 1 value of a and b changes
      at end of result 2 a=0,b=8

    • @prabhakergautam9204
      @prabhakergautam9204 Рік тому +5

      @@meghanakondeboina4808 yes when we do it in the same program otherwise 0 i.e. result 1 and result 2

    • @ShubhamSingh-qf1qi
      @ShubhamSingh-qf1qi Рік тому +6

      both should be zero

  • @alishettishreechakra3742
    @alishettishreechakra3742 3 роки тому +88

    Mam this is my first year in BTech.my cse teacher is not teaching well so I have no worries now because now I am learning from you.Thank you mam

  • @iconboy5973
    @iconboy5973 3 роки тому +59

    With your videos I've passed my first semister,thank you Jenny mam 🎉from ANDHRA

  • @maryannemuthoni5388
    @maryannemuthoni5388 10 місяців тому +4

    Thank you so much Jenny, i didn't know anything about the precedence, assosciativity, you clarified the increments and decrements perfectly. This is my third day watching your videos.

  • @18fatima15
    @18fatima15 6 місяців тому +6

    16:34 result_1=a>b && printf ("jenny") || printf("lectures") && printf("jk");
    result_2=a>b && printf ("jenny") || printf("lectures") || printf("jk");
    OUTPUT: result_1=1
    result_2=1
    20:22 result 1=1
    result 2=1 (both result_1 and result_2 are evaluated in the same program

    • @pRABHAya
      @pRABHAya 5 місяців тому

      result= --a&&++b; will be 0
      Result 2 will be 0 not 1

    • @AvtarSingh-rj7jz
      @AvtarSingh-rj7jz 2 дні тому +1

      Yes you are right 👍 output is 1

  • @MechMonty
    @MechMonty 2 роки тому +7

    i had forgotten the operator precedency concept and in evaluation tests many times made mistakes. Now its clear to me. thanks

  • @jyoshnareddy1013
    @jyoshnareddy1013 2 роки тому +19

    a-- becomes 1 it means true and ++b becomes 7 so it is also true finally true and true is true it means "1"
    In second case --a becomes 0 it means false so in logical and if any one condition is false then whole result gets false it means "0"

  • @chiradeepbhattacharya4858
    @chiradeepbhattacharya4858 3 роки тому +37

    logical
    int main();
    {
    int a=4,b=5,result;
    result=a>b && printf ("jenny") || printf("lectures") || printf("jk");
    printf("%d", result);
    result 1=1
    result 2-1
    maam both the result will be one because it is an OR GATE Used in this case.

  • @shafizulislam255
    @shafizulislam255 2 роки тому +7

    A beauty can explore the beauty..... Excellent lecture.

  • @geetageeta7933
    @geetageeta7933 2 роки тому +16

    16:35 result will be true(1)
    Output lecturesjk1
    16:43 also output is lectures1
    Because as log or gets 1st true it will not check another condition

  • @Ajay_1351
    @Ajay_1351 3 роки тому +141

    in AND operator 5

    • @MrMrsKarthikRaj
      @MrMrsKarthikRaj 3 роки тому +3

      yes

    • @shivam7164
      @shivam7164 3 роки тому +7

      Answer toh phir bhi zero hi hoga

    • @humanAbsu
      @humanAbsu 2 роки тому +1

      😂😂 such me yrr

    • @pratibhanadiger6827
      @pratibhanadiger6827 2 роки тому

      ✋✋✋

    • @ayushisajwan01
      @ayushisajwan01 2 роки тому +1

      @Pratik 006 bro lekin final result to false (0)hi hoga Naa... chahe ek operator true or dusra false ho....

  • @aditiraj8147
    @aditiraj8147 3 роки тому +18

    Ma'am for the Q of combination of logical operators answers of both the Q will be JennylecturesJK1
    & For the Q of int a=1 , b=6 ....
    Result 1 =1 and Result 2 =0

    • @geethikakrishna4460
      @geethikakrishna4460 3 роки тому +3

      Jenny won't be there

    • @geethikakrishna4460
      @geethikakrishna4460 3 роки тому +2

      Coz first exp is 0 so Jenny won't print

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 3 роки тому +3

      @@geethikakrishna4460 Yes I also think Jenny won't be there ...
      Output will be. LecturesJK1

    • @swetakumari6641
      @swetakumari6641 2 роки тому +1

      @@ParamitaDey-bi1mg first jkprint after that lectures..so final result would be jklectures

  • @dhanrajm4652
    @dhanrajm4652 3 роки тому +12

    Hai Dear Ma'am,
    When Your discussed && Operator b

  • @shrur3527
    @shrur3527 2 роки тому +8

    dear mam thank you will be very less for your videos , praying for all happiness n success to u n to ur family , i m benefited a lot by your videos , you are an excellent teacher

  • @adityagk1
    @adityagk1 3 роки тому +8

    thank you so much mam, every doubt is cleared now regarding operators.

  • @neelasatyasai6852
    @neelasatyasai6852 3 роки тому +13

    "AND" is a king he all ways want 1 rupee from all to say YES.
    "OR" is a Begger he satisfies with at least 1 rupee from any one to say YES.
    This is how i remember.

    • @FathimaRashaTP-k9d
      @FathimaRashaTP-k9d 7 місяців тому +1

      i was strugling hard to remember it..but now i can..thnq so much for the comparison bruh🤗

    • @vanitymeetstechnology8792
      @vanitymeetstechnology8792 4 місяці тому

      If there is no begger then.. what will happen then. OMG I am worried of my program

  • @prajaktakadam4779
    @prajaktakadam4779 3 роки тому +6

    When you print("Jenny") in Logical operator example.Return type of printf() is 1 thats why result is 1

  • @Digitalkannada-v5i
    @Digitalkannada-v5i 3 роки тому +10

    1) lecture Gk 1
    2) lecture GK 1
    3) 1&&1=1
    4) -1&&1=0&&1=0
    Thanks ma'am ur doing good job...👍👍🙏🙏

  • @Joycee74
    @Joycee74 2 роки тому +5

    Result when && at the end = JK1 and Result with || at the end is also JK1. This is so because Logical && has a positive value at first, then the result is automatically TRUE which is 1, and logical OR (||) already have one and both values as TRUE, so, result is equal to 1

    • @chikwendumiracle2737
      @chikwendumiracle2737 Рік тому +1

      Are you part of the alx se program

    • @Joycee74
      @Joycee74 Рік тому

      @@chikwendumiracle2737 Yes

    • @udaysingh6621
      @udaysingh6621 Рік тому +7

      @@Joycee74 In &&:
      Output: lectures jk 1
      In II :
      Output: lectures 1
      Please check, I think that this should be the right answer

    • @MUDIT-vy7kb
      @MUDIT-vy7kb Рік тому

      yes this is correct@@udaysingh6621
      but no spaces in between

  • @abdulrahimjalloh363
    @abdulrahimjalloh363 Рік тому

    You are the best lecturer i have ever seen for programming. Many people knows programming, but they dont know how to teach. but you, i can give you AAAAA++++++++💯

  • @syednaveeth9825
    @syednaveeth9825 2 роки тому +2

    Now I understand computer is consider -1 is true value got it thank you mam

    • @De-CODE7
      @De-CODE7 2 роки тому

      in the last problem , --a = -1 , right ?

    • @syednaveeth9825
      @syednaveeth9825 2 роки тому

      @@De-CODE7 Yes bro you are right ✅

    • @pradeepselakoti8787
      @pradeepselakoti8787 2 роки тому

      @@syednaveeth9825 -1=0 ya frr -1=1...konsa hoga or kaise bro

  • @saitejaraju1115
    @saitejaraju1115 6 місяців тому +1

    Hi mam
    Near 4:58 stated has false
    But It's true b

  • @kennedychukwu4152
    @kennedychukwu4152 Рік тому +7

    Jenny thank you for the content you create. Please can you do one on Javascript.

  • @shreyabiswas7313
    @shreyabiswas7313 3 роки тому +37

    Result 1 = a - - && + + b output 1: 1
    Result 2 = - - a && + + b output 2: 0

    • @Robin-zs7yy
      @Robin-zs7yy 3 роки тому +3

      Output 1: 0 na???

    • @Robin-zs7yy
      @Robin-zs7yy 3 роки тому +1

      Smjh ni Aaya merko😅

    • @shreyabiswas7313
      @shreyabiswas7313 3 роки тому +6

      @@Robin-zs7yy no bro
      Cuz in 1st result... Post increment is happened.,. So 1st initial value of a is applied and then after execution the value of a will be incremented..
      So, in 1st result : 1 && 7
      So. 1st Output will be true or 1

    • @ArjunCool
      @ArjunCool 3 роки тому +2

      Excellent ❤️

    • @arjunnaiduravuri9429
      @arjunnaiduravuri9429 2 роки тому +10

      2nd output is 1
      because after execution of first statement a value becomes zero
      in 2nd statement a is pre-decrement then value of a becomes -1

  • @anusha_pathivada
    @anusha_pathivada Рік тому +2

    For the last question both are false mam
    And tq so much mam for your vedios ❤we are loving them

  • @vinayaksharma945
    @vinayaksharma945 3 роки тому +3

    Mam I saw your each and every video 👍👍👍 mam pleasssss give a heart to this comment

  • @aarthi8358
    @aarthi8358 3 роки тому +6

    Thank you Jenny mam ❤️ from tamilnadu

  • @angeloghenefuafo
    @angeloghenefuafo Рік тому +1

    the first one is 1 and a becomes 0 while b becomes 7.
    then second one the results is 0 won't check the other because it's AND Operator, while becomes 7

  • @Bakriallhashimi
    @Bakriallhashimi Місяць тому

    For the result1 the output is 1 and for the second one the output is 0. Thank you so much for the tutorials

  • @sowmyakoruprolu
    @sowmyakoruprolu 3 місяці тому

    In the example that's used to explain logical or ,a=4 && b=6,so it to be a>b becomes true.But while explaining , it's stated as flase, which needs to correct

  • @shreyabiswas7313
    @shreyabiswas7313 3 роки тому +4

    Output for expression 1 & expression 2
    Both ans will be 1
    Expression 1 : lecturer jk 1
    Expression 2 : lecturer jk 1

  • @suosatyanarayanjaganathan4702
    @suosatyanarayanjaganathan4702 3 роки тому +4

    Answer to the last question at 20:22 is 1 and 0 respectively

  • @rahulsati5819
    @rahulsati5819 2 роки тому +3

    mam you are best.no one is like you

  • @cyberguy69
    @cyberguy69 2 роки тому +3

    Now my concept is crystal clear

  • @creativityanand9566
    @creativityanand9566 4 місяці тому

    Jenny mam your doing so hard work god bless you I donot like c programming but when your saying I am so interested to listen and understand

  • @ramprakashpathak6611
    @ramprakashpathak6611 Рік тому +1

    16:45 both result is one.👍

  • @EjazKhan-fr6tp
    @EjazKhan-fr6tp 3 роки тому +4

    Maam at 4:50 in that expression b

  • @granderuhu
    @granderuhu Місяць тому +2

    result1: 1 && 7 which is true
    result2: -1 && 8 which is also true

  • @onlystudy9729
    @onlystudy9729 Рік тому +3

    #include
    #include
    int main(){
    int a = 4 , b = 6 , result;
    result = a > b && printf(" vikram
    ") || printf(" c language by jenny
    ") && printf(" i have almost completed 17 lectures out of 150");
    printf(" %d ", result );
    return 0;
    }
    output : c language by jenny
    i have almost completed 17 lectures out of 150 1

  • @mohdanwarkhan4661
    @mohdanwarkhan4661 3 роки тому +6

    # include
    main()
    {
    int a=4,b=6,result;
    result=a>b && printf("jenny")||printf("lectures")|| printf("
    jk");
    printf("%d",result);
    }
    output:
    lectures 1

    • @ashishbisht6857
      @ashishbisht6857 Рік тому

      @EaSץWᗩчs 【• ‿•】 because in logical or if first statement is true it will not go to second statement

  • @nooludhanasekhar05
    @nooludhanasekhar05 Рік тому +1

    Mam you can do this javascript. Why Because is teaching very good contents. Any way no purchase for c language good achive my self

  • @nandhu69
    @nandhu69 3 роки тому +4

    Love Jenny so much❤️❤️

  • @starkendeavours7072
    @starkendeavours7072 3 роки тому +14

    Result 1: Lecturesjk1
    Result 2: Lectures1 for question 1
    and result 1 = 1 and result 2 =0 for last question

    • @vaibhavsingh55130
      @vaibhavsingh55130 3 роки тому

      Same my answer

    • @rohitsunariya8469
      @rohitsunariya8469 3 роки тому

      why not jk in result 2 of que 1 please tell

    • @swapnilsuradkar110
      @swapnilsuradkar110 2 роки тому +1

      @@rohitsunariya8469 or operator used...first condition true so it will not check next condition

  • @d.harikrishna9161
    @d.harikrishna9161 2 роки тому +4

    Hii
    Can u explain fatal error
    Ur sections very nice

  • @manirulmolla5519
    @manirulmolla5519 2 роки тому +3

    Very well explained, Thanks😊

  • @deepnarayan123
    @deepnarayan123 3 роки тому +1

    Result1 is true
    Result2 is also true
    And rest of all answer is also true

  • @SahasraMuthyam
    @SahasraMuthyam 2 місяці тому

    We should consider and as multiplication as in case of logic gates

  • @kavyareddy5392
    @kavyareddy5392 3 роки тому +3

    expression 1: lectures jk 1
    expression 2: lectures 1
    result 1: 1
    result 2: 0

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 3 роки тому

      Why in expression 2 jk will not be printed ?
      Why result 2 is 0 ? It suppose to be one ? Pls ans

    • @Bharathkumar-hw3fm
      @Bharathkumar-hw3fm Рік тому

      Result 2: 1. Not 0

  • @sreekanthkurakula7271
    @sreekanthkurakula7271 3 роки тому +4

    can u plz explain how to give first priority to logical AND for logical OR for selecting

  • @devendernarra248
    @devendernarra248 3 роки тому +1

    Tq mam, I'm learning lot's off ,from ur videos

  • @deepikagk5304
    @deepikagk5304 2 роки тому +3

    For a=1, b=6
    Result 1: 0
    Result 2 : 0

  • @Classy_Rajesh
    @Classy_Rajesh 2 роки тому +1

    For && statement answer =1
    For // statement answer =1

  • @_JAYASRIS-zt5zw
    @_JAYASRIS-zt5zw 4 місяці тому

    Thanks a lot making this concept crystal clear

  • @maryannemuthoni5388
    @maryannemuthoni5388 10 місяців тому +1

    Question 1:
    int a = 4;
    int b= 6;
    a>b && printf("Jenny") || printf("lectures") && printf("JK");
    Answer is 1 or true
    Question 2: 1 && 7 is 1/True
    Question 3: -1 && 8 is 1/True

  • @Mr.Andreas07
    @Mr.Andreas07 17 днів тому

    int a=1, b=6, result;
    result = (a--&&++6)
    Outpout: result = 10
    result = (--a&&++b)
    Output: result = 00

  • @ankitapriyadarshinijalli5069
    @ankitapriyadarshinijalli5069 2 роки тому +4

    Thank you maam..I survived my 1yr of cse because of you.

    • @SadhanaSharma
      @SadhanaSharma 2 роки тому +2

      19:42 here first we should evaluate a++ na because it's precedence is higher than relational operator
      Please help

  • @LIGHT-fz8yu
    @LIGHT-fz8yu 3 роки тому +2

    Thanks 🙏🙇
    Now I get it correctly

  • @bejgamwarkrishnahanmant1936
    @bejgamwarkrishnahanmant1936 2 роки тому +5

    1)- printf ("%",result);=1
    Printf ("%",a);=0
    Printf ("%",b);=7
    2)- printf ("%",result);=0
    Printf ("%",a);=0
    Printf ("%",b);=6

  • @mohamedaljorni9360
    @mohamedaljorni9360 11 місяців тому

    result 1 = 1
    result 2 = 0
    thanks maam for this Simple explanation and great ideas

  • @meghanakondeboina4808
    @meghanakondeboina4808 Рік тому +2

    1. Lectures Jk 1
    2. Lectures Jk 1
    Is it right?

  • @amnanadeem1282
    @amnanadeem1282 Рік тому +1

    Love your lectures ma'am

  • @BTCIV_AyushMalviya
    @BTCIV_AyushMalviya 2 роки тому +1

    ThankYou Mam

  • @chamarthykoushik204
    @chamarthykoushik204 3 роки тому +1

    madam here b

  • @krishnakumar-gu6oi
    @krishnakumar-gu6oi 2 роки тому

    MY FIRST SIMPLE PROGRAM DONE

  • @tps8470
    @tps8470 2 роки тому +1

    Thanks a Lot Mam

  • @jashankaur3726
    @jashankaur3726 Рік тому

    your learning mathod is so great mam 💙

  • @Mr.Yaragonda
    @Mr.Yaragonda 3 роки тому

    Thank❤🌹😊 you so much madam..... You are my best UA-cam▶️ 👩‍🏫‍teacher

  • @poornimab8877
    @poornimab8877 2 роки тому +1

    Really super ma'am

  • @gautamshakya973
    @gautamshakya973 Рік тому +1

    int main()
    {
    int a=5,b=7,result;
    result= aa && printf("!!")&& printf("true
    ");
    printf("%d",result);
    }
    Hello mam!! I get output of this code is 1, so why doesn’t and operator is evaluated first according to precedence as you said!! In my analysis OR operator is evaluating first according left to right

    • @Prasanna-im1zy
      @Prasanna-im1zy Рік тому

      Did u get the answer even I am getting output as 1
      By the way it should be
      !!true
      1
      Ryt??

    • @gautamshakya973
      @gautamshakya973 Рік тому

      @@Prasanna-im1zy still couldn't get through of this😰😰

  • @adidada6456
    @adidada6456 3 роки тому +3

    5

  • @isaac-victorshonowo1838
    @isaac-victorshonowo1838 Рік тому

    Watched and Understood ❤

  • @dhanmay1969
    @dhanmay1969 3 роки тому +2

    Mam answer of Q1 = 1 && 1.. And of Q2 = 1 && 0....

  • @krushnachoudhari7759
    @krushnachoudhari7759 2 роки тому +3

    resut1=1
    result2=1

  • @ankithkumar4705
    @ankithkumar4705 3 роки тому +2

    Output 1: lectures jk 1
    2 example : int a=1, b = 6
    a--&&++b = 0
    --a&&++b=0

  • @mainshashaik5097
    @mainshashaik5097 Рік тому

    Ascii value of< is 60, > is 62 the comparision of '' = 0

  • @musingsbyalex7764
    @musingsbyalex7764 3 роки тому

    Love Jenny so much

  • @rushikeshsanap1981
    @rushikeshsanap1981 Рік тому

    Thank you ma'am
    Nice suit by the way

  • @handekarilingojivarasaikri782
    @handekarilingojivarasaikri782 3 роки тому +2

    Result of a-- && ++b = 1
    And a = 0, b = 7
    Result of --a && ++b = 0
    And a = 0, b = 6.....

    • @suchithpk4844
      @suchithpk4844 3 роки тому +1

      Bro hw u did can u explain plz

    • @handekarilingojivarasaikri782
      @handekarilingojivarasaikri782 3 роки тому +2

      @@suchithpk4844 In 1st one it is first assigned then decremented (a--) and reverse in the case of b++..
      This means -1 && 7 is the expression. Expect 0 all are true values..So it will be 1..
      In 2nd case --a it's first decremented then execution takes place.
      So 0 && ++b = 0
      If in && first expersion in false then it will not evaluate the second expersion.
      And a= 0, b= 6..
      Whereas in 1st case it is true for first expersion. So a = 0, b = 7
      I hope you got it...

  • @marcninochristopherocampo5138
    @marcninochristopherocampo5138 Рік тому +4

    #include
    int main()
    {
    int a = 1, b = 6;
    printf("ResultA = %d
    ", a-- && ++b);
    printf("ResultB = %d
    ", --a && ++b);
    return 0;
    }
    Output:
    ResultA = 1
    ResultB = 1

    • @herohera3497
      @herohera3497 Рік тому

      i didnt understand can you teach me?

    • @Surya-uu1vy
      @Surya-uu1vy Рік тому +2

      Result B is zero bro

    • @Bharathkumar-hw3fm
      @Bharathkumar-hw3fm Рік тому

      Result B=0 because, in logical and if one condition is false then it won't go to next statement. It will be print 0

    • @lucky-ls2es
      @lucky-ls2es Рік тому

      Yeah . i got the same

    • @hopemeles4106
      @hopemeles4106 11 місяців тому

      that is result b is one becase of a--- the result A 1-1 =0 then the result --a the 0-1 the the out put -1 so that -1 and 8 is one please check it@@Surya-uu1vy

  • @karthickambrish
    @karthickambrish 3 роки тому +10

    Result would be 1 and 1 for both the questions when replaced with &&, || operators.

  • @krupa1963
    @krupa1963 3 роки тому +4

    Output for
    Expression 1 : lectures jk 1
    Expression 2 : lectures 1

  • @sayansaha5326
    @sayansaha5326 2 роки тому +1

    Result 1 is 1
    Result 2 is 0
    But when I do it in compiler then my answer is 1 and 1 ,, what is my mistake mam plz tell me

    • @sayansaha5326
      @sayansaha5326 2 роки тому

      I think that ( - 1) means 1 in logical And Operator .

  • @vanshsindhu8559
    @vanshsindhu8559 3 роки тому +1

    Ma'am aap Coding train channel jese
    Coding kro..... Like when you see it.. Then like laptop.... May be some coding challenge... Plz reply if u don't get it.... Thanks ma'am
    By the way I am from Haryana

  • @pogalaharshitha398
    @pogalaharshitha398 2 роки тому

    you are correct in and program mam

  • @Rajkumarking2002
    @Rajkumarking2002 3 роки тому +1

    Thank you mam😍😍

  • @dipeshkumar9786
    @dipeshkumar9786 2 роки тому +1

    mam upper wale example mai 5 is less than 10 hai to wha falkse nhi true hoga n

  • @wahabolayinka2246
    @wahabolayinka2246 Рік тому

    Thanks for the videos

  • @bommanareddaiah3950
    @bommanareddaiah3950 3 роки тому +3

    Mam say full python language how to write sourcecode in python language in any concept

  • @mudiyamnikhileshkrishna9926
    @mudiyamnikhileshkrishna9926 2 роки тому +1

    Result 1is 1 and result 2 is 0

  • @ChanduChandu-rm7hf
    @ChanduChandu-rm7hf Рік тому +1

    What if negative constants mam!

  • @immanojgm
    @immanojgm Рік тому

    What is the associativity for AND,OR,NOT and make sure what is precedence of these.

  • @udaysinghrana5725
    @udaysinghrana5725 Рік тому +1

    16:47 - Output is 1
    20:33 - Result1 = 1 (Post-Decrement) and Result2 = 0 (Pre-Decrement)

  • @TataTheclaire-xh3ne
    @TataTheclaire-xh3ne Рік тому

    You're the best

  • @lokendrasinghrathore981
    @lokendrasinghrathore981 Рік тому

    Bracket is higher precedence to unary

  • @Nothingmuch134
    @Nothingmuch134 3 роки тому +1

    Thx mam for dsa playlist
    Plz mam make a video on reverse of doubly linked list

    • @atib1980
      @atib1980 3 роки тому

      She already made one on that topic. Here you go: ua-cam.com/video/_6JI9XdO8nM/v-deo.html

  • @saleem2881
    @saleem2881 2 роки тому +1

    lecture's JK 1
    lecture's JK 1

  • @praveenvemulapati3748
    @praveenvemulapati3748 10 місяців тому +1

    Result 1 is 0
    Result 2 is 1

  • @mathunlimited9582
    @mathunlimited9582 2 роки тому +3

    Ma'm result 1 will be 1

  • @hirenkumarv.ajudiya7534
    @hirenkumarv.ajudiya7534 2 роки тому

    Ma'am...
    Please Correct At 4:57