Bitwise One's Complement Operator In C ( Full Lecture In Hindi ) By Nirbhay Kaushik

Поделиться
HTML-код
  • Опубликовано: 9 окт 2024
  • ------------------------- #Bitwise_One_complement -------------------------
    Jai_Hind, Dosto, aaj ki is video me , maine aapko btaya hai..ki bitwise one's complement operators aakhir kya hote hai.. aur inhe hum kaise use krte hai...aasha karta hun aapko ye video pasand aaegi... agar video pasand aae to please LIke Aur share kar dena.. agar channel par nae ho to SUBSCRIBE kar dena.....
    THANK YOU !
    --------------------------------------------------------
    Please Subscribe For More Videos !
    ------------------------------------------------------
    Instagram : / kaushiknirbhay
    ------------------------------------------------------
    Facebook : / techfully
    -----------------------------------------------------
    Thank You !

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

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

    Thanks for your explanation👍👍👍

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

    Fantastic explanation Bhai...❣️

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

    Excellent explanation

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

    Superr

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

    Hallo,,kisi negative value ka kaise conversion kaise krenge

  • @विशालकुमार-छ7त
    @विशालकुमार-छ7त 8 месяцев назад

    thanks, i thought that it was 2's complement

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

    thank you

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

    Confuse in minus bit like 128 minus 64 minus 32 minus 16 minus etc

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

    Can you explain ~6 number ??
    Your logic not work on 6 number or other many numbers

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

    How to convert in binary form ?

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

    Bhai 128 minus q huaa and 64 plus q huaaa deep confused

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

      sbse last main 1 jo tha.. wo 128 par tha.. aur last wala 1 negative sign so krta hai.. isliye -128. Baki jiske bhi niche 1 hai wo plus wale hai.. is liye +64

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

    If -. Minus 5 or minus 45 ho tb

    • @hindi-english1664
      @hindi-english1664 3 года назад

      if the input value was -5 or -45 then:-
      we take an example where we store -5 in a variable-
      #include
      int main()
      {
      int a=-5;
      printf("%d",~a);
      return 0;
      }
      if we run the above program then it's showing 4 as output...
      how it's work internally?
      let's understand...
      always remember "Negative values are stored 2's complemented form"
      suppose we use 8 bit
      1)binary of value 5 is 0000 0101(8-bit form)
      2)apply 2's complement

      i)apply 1's complement
      0000 0101(binary of 5)
      1111 1010 (1's com.)
      ii) add 1 1's complement
      1111 1010
      +1
      ---------
      1111 1011
      ---------
      3)again we have to convert this digit(111 1011) in 1's complement form
      0000 0100

      now you can convert it in a decimal form which is 4 and the same as it is you can calculate with -45.

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

    -(n+1)

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

    Maarula class m the?

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

      kon bola ..

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

      @@TechFully main bhi vhi padhta tha
      Dekha h maine

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

      baise jeevan ki sabse bdi galti thi wo....🤣🤣 maine pehli baar us level ki pagalpanti kisi teacher main dekhi thi..

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

      @@TechFully sahi kha 😂

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

      Abhi kha ho?MCA ho gya?