C_18 Operators in C - Part 6 | Bitwise Operators | C Programming Tutorials

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

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

  • @syedalifathimaa9618
    @syedalifathimaa9618 4 года назад +48

    The way you're teaching, presenting problems to us, and claiming for answers in the comment box is quite convenient to grasp the concepts and make us feel the classroom environment.

  • @RukhaySukhayPakwaan
    @RukhaySukhayPakwaan Год назад +14

    I can proudly say that this mam is the reason why i scored good marks while i was doing my engineering. Lots of love from nepal ❤️🙏

  • @shrur3527
    @shrur3527 2 года назад +24

    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

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

    It very good lecturing about general concept of C++ programming and she continuous this the work teacher.

  • @marufqureshi8429
    @marufqureshi8429 2 года назад +7

    Nice session Ma'am
    My doubts are always cleared by watching your session.
    Thanks a lot for this awesome session.

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

    Thank you mamm for the wonderful explanation. a&b = 2, a | b = 14, a ^ b = 12 and and the last is 1

  • @itzscouter1795
    @itzscouter1795 3 месяца назад +4

    Output will be 1 and b will be 7...Also you are best Ma'am..Today is my exam and I was so tense now my mood is good too after watching your video...Your teaching is best☺

    • @MECH-to-IT
      @MECH-to-IT 14 дней назад

      1 and b = 6... bcoz 0 && b++ then first false then second not checked in and op.

  • @shashwat4299
    @shashwat4299 2 года назад +9

    Again jenny ma'am you nailed it up to mark very clear and smart teaching

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

    Mam the way you teach to us is the best way and we understand and resolve our problems easily 👍👍

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

    mam your classes are super I am listening u r class 50 % for subject and 50% for you

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

    I learned alot
    Thank You ma'am :)
    Now let's got for part 2

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

    Mam thankyou you are better than my teacher it's very helpfully for me

  • @arshadtv7744
    @arshadtv7744 2 года назад +4

    Very good teaching every topic is covered 🤗

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

    I love you ma'am as a student and teacher relationship ☺️💛

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

    Thank you mam very nice gide & very nice best information bitwise operator teaching video.👍

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

    Far better than my college professor..she is just a noob in front of you..😂

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

    Ma'am please upload videos of pointers, structure,union,enum, files handling, command line argument of c.❤️

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

    Mam ,you use very simple English words.
    Thanks 😊

  • @fiazwaris1185
    @fiazwaris1185 4 года назад +1

    You are such a cute teacher i like all your vedios that understand able 😊😊😊

  • @5j9harishguggilla23
    @5j9harishguggilla23 4 года назад +1

    Mam ur explanation is so nice like you😍😍

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

    Best teacher 🎉

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

    God bless you a million times

  • @abhishek9471
    @abhishek9471 3 года назад +39

    In second the output will be 1 in(&&)case
    And b++ will print 7

    • @shuchianush4028
      @shuchianush4028 11 месяцев назад +5

      No brother the precedence changes and 0 && b++ will be evaluated first and then 1 || (value of 0 && b++) …so output will be 1 but again b value will not be affected

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

    Thankyou so much mam it’s an amazing experience , learning from you ❤

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

    like seriously ma'am u are really good, u just thought me a shortcut for this...

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

    Tqq so much mam for ur clear cut explanation 🎉🎉❤

  • @aditiraj8147
    @aditiraj8147 4 года назад +59

    Ans for 1st 3 Q are 2, 14, 12

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

    Great ma'am ❤️.

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

    Excellent ma'am ❤️

  • @samk11-YO
    @samk11-YO 3 года назад +3

    mam you best from my all c teachers . i saw your all videos and inspiration from your video love you mam and make new best videos on c language .

  • @SaidabeeShaik-n2o
    @SaidabeeShaik-n2o 4 месяца назад

    Excellent explanation

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

    Mam apko dekh ke hi sb samajh me a gya🤤🤤🤤

  • @SandeepKumar-pm5op
    @SandeepKumar-pm5op 2 года назад +1

    Thank you for teaching us in an excellent manner you are extremely better than my college faculty they don't taught me all this so that I'm stuck with lot of doubts
    So because of you I'm able to i understand everything thank a lot mam 💟💟💟💟💟💟💟💟💟💟💟💟💟

  • @MechMonty
    @MechMonty 3 года назад +7

    in the last case after adding && b++ and printing b only gives value of 6 so that means it doesnt execute the expression && b++ as per left presidency and OR operator before on left

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

    You are very beautiful ❤️
    And the video helped me a lot

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

    Im with zero doubts mam thats bcoz of you tq so much mam ❤

  • @asu253941simi
    @asu253941simi 5 месяцев назад

    Hi, you are the best.. thanks for your help...

  • @vishalKumar-dd7pg
    @vishalKumar-dd7pg 4 года назад +2

    Really like your explanation ma'am superb 🔥🔥🔥🔥👌👌👌👌👌👌👌

  • @hariparuchuru3858
    @hariparuchuru3858 2 года назад +8

    after changing the logical or operator to logical and the final output of the statement will be 1
    and B value will be updated as 7.

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

      how 7? can you explain??I'm confused

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

      @@SaraswotiKhadka at last mam changed the question
      i.e ( a&b && b+1 || 0 || b++) first mam explain with this example later,
      The question is
      ( a&b && b+1 || 0 && b++) bitwise & has higher precedence so, now the expression on solving
      ( 2 & 7 || 0 && b++) so, 2&7 = 1
      So expression changes as follows
      (1 || 0 && b++) here && has higher precedence and also b is updated to 7 here as we used b++ in our expression. so, 0 && b++ is done first i.e
      0&&6 output is 0, now ( 1 || (0 && 6)) BECOME
      (1 || 0) Finally output of this expression is one bcoz of logical or.

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

      @@hariparuchuru3858 may be i got it. Thank you

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

      @@hariparuchuru3858 bro, in logical and (&&) , if 0 is one of the operand then we don't fetch the second operand and the result is 0 , as in this 0 && 6 output is 0 and we don't consider the second operand
      So b++ value remains same i.e. 6

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

      @@udaysingh6621 we don't get 7 but result is 1 only

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

    Thanks for help Ma'am 🙏🙏🙂

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

    I am impressed on your 💕

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

    It's very cleary😊

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

    mam your teaching method is very impressive

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

    amazing
    thanks mam
    BANGLADESH

  • @AnuradhaChelluri-b3n
    @AnuradhaChelluri-b3n 2 месяца назад

    Good explanation

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

    Thank You for clarified our doubts

  • @starkendeavours7072
    @starkendeavours7072 4 года назад +4

    Yes mam please take some good, hard, and really tricky examples on Logical and Bitwise, and Relational operators combined

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

    13:07 output of first three statement is
    2
    14
    12

  • @ShivamKumar-yd3ix
    @ShivamKumar-yd3ix 3 года назад

    It's a very helpful video mam thank you

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

    thank you ma'am😊😊😊

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

    Our sir in our college explained the same topic for 40mins but I understood after watching your video mam

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

    Technically you r correct and you are technically sound. Don't get nervous or fast while teaching. But teaching is good. But you can make it better because you are technically sound.

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

    You are my best guru

  • @Mr.Yaragonda
    @Mr.Yaragonda 4 года назад

    Thank you❤🌹😊 so much for your lectures madam...... Gratitude from bottom of my heart❤💖

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

    Thanks a lot mam

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

    super explanation madam

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

    thank you for this video mam😃

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

    Video starts at 2:26

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

    a&b= 2, a|b= 14, a^b= 12, lastOne= 1

  • @needofrightdirectionByGajendra
    @needofrightdirectionByGajendra 4 года назад +1

    Thank you so much ma'am

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

    This was helpful

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

    Good day Ma'am. 2 years later and your course is still very much relevant! Thank you for what you do.
    So I have a question, when performing certain operations on while working with binary in jpeg mode, we usually have to check if the first four digits of the 4th byte of a specific amount of data is a certain value. Here, we use the bitwise & operator. My question is, when checking to see if the first four values are similar to 0xe0, why do we use the & operator with 0xf0 on one side and 0xe0 on the other? Why don't we have 0xe0 on both sides?
    An example code is as shown below:
    if (buffer[0] == 0xff &&
    buffer[1] == 0xd8 &&
    buffer[2] == 0xff &&
    (buffer[3] & 0xf0) == 0xe0)
    Look forward to hearing from you soon ma.

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

    a&b =2
    a|b = 14
    a^b = 12

  • @nagagopi4448
    @nagagopi4448 3 года назад +18

    Mam in this above video u said ,printf("%d
    %d",a&b&&b+1|0&&b++), it will print b value as7 but it is giving only b++ old value as 6

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

      Yes ,I also got the same answer

    • @AnkitKumar-ud4vt
      @AnkitKumar-ud4vt 3 года назад

      @@neerajaneeraja6971 me too

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

      @@AnkitKumar-ud4vt @Neeraja Neeraja Because at second last evaluation of expression, first && operator will be evaluated then || operator will be evaluated and there is 0 as first operand in && operator then there is no need to check for the second operand and consequently b value will not be incremented.
      I hope you will get it, what I tried to explain.
      🙂

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

      ​@@farzanaashraf8136 bhai insta id chahiye aapka

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

      @@madhubantu5180 Why

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

    print1=2
    print2=14
    print3=12
    print4=1

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

    Very beautifully explained 👌

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

    Int a=10 b=6
    a&b is 2
    a | b is 1
    a^b is 1

  • @yashsharma-td6ii
    @yashsharma-td6ii 2 года назад +9

    mam in the logical AND(&&) operator the final output will be 1 and 7 right. I didn't understood how did we got 2 there. Can you please clear this doubt mam?

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

    will you make a separate video for bitwise operation examples??

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

    Great mam

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

    very helpful

  • @RAJESHS-df8io
    @RAJESHS-df8io Год назад +1

    hi mam, nice explanation , in this video , which first prior , & ,+ , pervious video you explain high priorty each by binary.but while combination how we can identity which first for example & ,+ .

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

    You can fast forward the video, Actual content started from 2:30,before this all just the unacademy promotion.

  • @user-uu6xe5rx5m
    @user-uu6xe5rx5m 2 года назад +5

    Mam you are looking so beautiful

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

    Ans for three Q
    2
    14
    12

  • @pavanmurthya9482
    @pavanmurthya9482 4 года назад +1

    Mam do one more video on bitwise operator with more examples

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

    A&B = 2
    A|B = 14
    A^B = 12

  • @sreevidyam8963
    @sreevidyam8963 4 года назад +2

    Output:1
    b=6

    • @starkendeavours7072
      @starkendeavours7072 4 года назад +2

      What mam told at the end, if we use logical AND then also the output will be 1 as 1 && 6 is 1 and since the first operand is true which is 1. so will b = 6 or 7? in next printf statement. Can u please explain?

    • @vaibhavsinhbihola1
      @vaibhavsinhbihola1 4 года назад +2

      b is 7 bcz in and operator first is 1 then second expression will be evaluated so in this question b is evaluated therefore b is 7

  • @nitish2001nb
    @nitish2001nb 4 года назад +1

    Done 🙏🙏😃.

  • @adesh_lifts
    @adesh_lifts 4 года назад +2

    BIGFAN MAM

  • @kpandeeswari6037
    @kpandeeswari6037 4 года назад +2

    First comment😍

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

    can you please tell why when a=10,b=5,a&b is 0. while when a=10 and b=6, a&b is 2.

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

    U ar unique

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

    16:20 output is 1

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

    Beful so interested

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

    as it will get true and true ,ouput will be one and value of b is 6 and if it finds another b then b will be 7

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

    Thanks

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

    @jenny's lectures.Mam please explain detailed programme like that programme

  • @kumaravel1301
    @kumaravel1301 4 года назад +2

    Mam, is b+1 is a relational operator?(13:25)

    • @venkatsai4865
      @venkatsai4865 4 года назад

      It is arithmetic operator

    • @kumaravel1301
      @kumaravel1301 4 года назад

      @venkat sai ,then y mam told b+1 is relational operator (13:25)

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

      arithmetic operator

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

      I think b+1 is a arithmetic operator

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

      @@kumaravel1301 By mistakely mam said that thing ...... there is + between two operands so it is an arithmetic operator only don't get confuse

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

    In the very last example question, printf is 1 and b is 7.

  • @jitendratiwari4292
    @jitendratiwari4292 4 года назад +2

    Dress++ 😎, *+beauty 🥰

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

  • @PalyamYashwanthsai
    @PalyamYashwanthsai 3 месяца назад +1

    In last you said that b will remain 6,but wrong madam it will be 7 madam

  • @ytmusicrasiya5505
    @ytmusicrasiya5505 4 месяца назад

    Mam last me thoda kam samagh aaya h but well done 😊

  • @sk-sf4wo
    @sk-sf4wo 3 года назад

    starts at 2:26

    • @Officer-kd6
      @Officer-kd6 3 года назад +1

      Searching for some one commenting the start time ! Thnx

  • @jeevankorah
    @jeevankorah 8 месяцев назад +2

    Chechii, umma... Eniku chechine kadikanam..., finger licking good aanu chechiii...❤😊

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

    mam Give suggestions to MCA students , scope is fit for software

  • @Mukesh-cw3tz
    @Mukesh-cw3tz 3 года назад

    Output of three statement are:-
    O
    7
    7

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

    All the best for your Exam 👍

  • @VanamadiJahnavi
    @VanamadiJahnavi 4 месяца назад

    Ans:2,14,12