31 - DECIMAL TO BINARY CONVERSION - C PROGRAMMING

Sdílet
Vložit
  • čas přidán 6. 09. 2024

Komentáře • 115

  • @BAshivakiran
    @BAshivakiran Před 3 lety +18

    thank you very much bro, I have been searching since 2 days for the perfect explanation , you are really a life saver bro

  • @qwerty273
    @qwerty273 Před 3 lety +5

    This video is great, all i had to do was listen to an explanation, then look at the code, then bam, i understood and made my own in seconds, thanks for this great video, keep it up :).

  • @shaheerbanushaik1744
    @shaheerbanushaik1744 Před 5 lety +13

    The way of Ur explanation is just fantastic...very clear..perfect👌

  • @rockupdates61
    @rockupdates61 Před 4 lety +5

    Already we have while loop and we have the values of B[I]

  • @sirikisrinivasarao7994
    @sirikisrinivasarao7994 Před 3 lety +3

    Thanks sir, I wanted to learn these concepts. From other resources, it was tough to understand, but your video helped me out!!

  • @artistfantasy7100
    @artistfantasy7100 Před 2 lety

    Konch Mike vadandi bayya. Alago anthakastapadi videomaking chesthunaru. Alage konchem voice kuda clarity ga. Manchiga unte 100% results vasthay. Explaination matram superb. Chala baga cheparu

  • @imranonweb
    @imranonweb Před 4 měsíci

    this is exactly what i thought to solve this problwm but did not know about how to use an array properly. i knew that i need something that can store values

  • @lakshit6458
    @lakshit6458 Před rokem

    the dry run was excellent man!!!!!!

  • @realgamer3541
    @realgamer3541 Před 3 lety

    I have no doubt on conversion of number after seeing this video.
    Tq sm❤️

  • @saravananjagadeeesan593
    @saravananjagadeeesan593 Před 3 lety +2

    Sir I tried initializing the array as int bin[ ] = { } . instead of displaying the output as 101 it displayed me 100 . what is the reason , could you please help me in figuring out it

  • @bigpepsi1560
    @bigpepsi1560 Před 2 lety

    impressiv how u can explain and solve at the same time, i can barely solve the problem on an IDE.

  • @gauravpatil_13
    @gauravpatil_13 Před 6 měsíci

    good explanation sir

  • @AbhishekTiwari-me3un
    @AbhishekTiwari-me3un Před 5 lety +10

    This program does not run perfectly

    • @codewithlogic3431
      @codewithlogic3431 Před 4 lety

      His algorithm is inefficient, i think this is just for beginners

  • @RisenMoshi
    @RisenMoshi Před rokem

    Why are we using B[100]?

  • @anilkumarkarri3978
    @anilkumarkarri3978 Před 2 lety +1

    Tq sir well explanation.....

  • @saifulbhuiyan1010
    @saifulbhuiyan1010 Před 3 lety +1

    thanks for great explain
    i really appreciate that

  • @meenarameshbabu3846
    @meenarameshbabu3846 Před 6 lety +4

    sir, it very useful your explanation is so good
    hereafter make a video quality clearly

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +2

      hi meena
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

  • @harshitaprajapati_0369
    @harshitaprajapati_0369 Před 4 lety +1

    Ur methods of explaning Very effective sir!! Its affected in one time ..thq sir!!💐

  • @ishworipandeypandey6734
    @ishworipandeypandey6734 Před 8 měsíci

    Best brother

  • @zozokale6712
    @zozokale6712 Před 3 lety

    Thanks so very much! This has saved my life,you cannot imagine,hope you're still doing a great work,love from Haiti!

  • @shrutiprogramming8282
    @shrutiprogramming8282 Před 10 měsíci

    sir ,why are u writing B[100]??

  • @prensudangol1547
    @prensudangol1547 Před 9 měsíci

    You are great

  • @user-qr3nw7yr2l
    @user-qr3nw7yr2l Před 10 měsíci

    what is that firsrt u initailazed array of 100

  • @jyothimallela732
    @jyothimallela732 Před 2 lety

    Really super..... Binary to decimal?

  • @sakalagamingyt3563
    @sakalagamingyt3563 Před 2 lety

    Nice and very helpful sir.

  • @bhavaninelaturi7766
    @bhavaninelaturi7766 Před rokem

    Thanks for you sir

  • @layathal7460
    @layathal7460 Před rokem

    why array used here??

  • @karthiksatish9030
    @karthiksatish9030 Před 4 lety +2

    This program working very perfectly

  • @vinaylofi3105
    @vinaylofi3105 Před 3 lety +1

    Sir meeru kekaa

  • @techwithchacha7136
    @techwithchacha7136 Před 2 lety

    very easy logic...thnks

  • @sajjalachaithanya902
    @sajjalachaithanya902 Před měsícem

    Super

  • @sairamchennuri5284
    @sairamchennuri5284 Před rokem

    Thank you sir

  • @megharajbnpesuecestudentpe1536

    Sir I want floating point decimal number into binary can you please explain please sir

  • @surajKumar-wf2xr
    @surajKumar-wf2xr Před 6 lety +1

    I love the logics you apply in making a program

  • @shubhangishreya1492
    @shubhangishreya1492 Před 4 lety

    Very nice explanation 👍

  • @user-rj9vq8pc3d
    @user-rj9vq8pc3d Před 4 měsíci

    Thanks bro

  • @parameshdarling9365
    @parameshdarling9365 Před 3 lety

    excellent explanation sir

  • @ravipullela6746
    @ravipullela6746 Před 2 lety

    I don't understand j=i-1

  • @rockupdates61
    @rockupdates61 Před 4 lety

    Sir why did u used for loop in this

  • @fatehkhan4954
    @fatehkhan4954 Před 4 lety

    Your logic is very simple and easy to understand...,..
    Thanku

  • @kandukuridevisri3264
    @kandukuridevisri3264 Před 3 lety

    Nice explanation

  • @clashersamir1625
    @clashersamir1625 Před 8 měsíci

    nice

  • @parthasaradhihoney8093

    Sir
    What is the difference between main and void main

    • @haarikayashodha6511
      @haarikayashodha6511 Před 5 měsíci

      Both are same ..used to specify the entry point of the program...and void represents that the code will not return anything...it is Said to use int main() instead of void main()...for good practice..Mostly int main
      () is used

  • @triptitiwari7533
    @triptitiwari7533 Před 3 lety +1

    in the second for loop why we are useing ( j = i-1 )
    ???

    • @trivokim8165
      @trivokim8165 Před 3 lety

      because the binary you read from the bottom to the top. that is why you need to ' - - = -1 '. for example, 10%2 = (0), 5%2 = (1) and 2%2 = (0), 1%2 = (1) ==> 0101. but you need to read from the bottom to the top is: 1010. that is why you need to -1 in the loop.

  • @mahitha6580
    @mahitha6580 Před 3 lety

    Excellent sir

  • @lifeinformationtechnology6543

    i tested it, but not working. so, it is better you do it practically.thank you.the other thing is your explanation is very nice. below is your code:
    int main(){
    int b[100],d,j;
    printf("enter d:");
    scanf("%d",&d);
    i=0;
    while(d>0){
    b[i] = d%2;
    d = d/2;
    i++;
    }
    for(j = i-1;j >= 0;j--)
    printf("%d",d[J]);
    }

    • @sundeepsaradhi
      @sundeepsaradhi  Před 5 lety

      Hi
      May I know what is the error you are getting

    • @abhijithkr3679
      @abhijithkr3679 Před 2 lety

      Hi @Life Information Technology
      I can see from your code you have not declared variable i,
      Declare variable 'i' program will work fine.

  • @wafaelkrim7703
    @wafaelkrim7703 Před 2 lety

    Thank you so much

  • @collegestudent5096
    @collegestudent5096 Před 5 lety +1

    Wow nice soln of decimal to binary thanku sir😊😊😊😊😊

  • @k.chendrayayadhav9046
    @k.chendrayayadhav9046 Před 3 lety

    5 is not a decimal number it is a integer. 5.0 is decimal

  • @SANJAY-ve9ub
    @SANJAY-ve9ub Před 3 lety

    Thank you very much sir

  • @shahulhameedmohamedbatcha2804

    Awesome sir❤️

  • @santoshkumak
    @santoshkumak Před 4 lety

    Instead of n = n/2 , we can do right shift to make it half quicker.

  • @rockupdates61
    @rockupdates61 Před 4 lety

    For printing?

  • @guruayaank9944
    @guruayaank9944 Před 5 lety +1

    the binary number is showing in vertical not in horizontal pls help sir

    • @sundeepsaradhi
      @sundeepsaradhi  Před 5 lety

      hi gopi
      thats completely depends on how you are displaying
      instead of
      use \t
      or send your program to askme.selflearning@gmail.com

  • @venkym3148
    @venkym3148 Před 6 lety +2

    Sir,
    Many of our fnds are following your c programming videos for placments those are very useful and super
    We are requesting you to post a complete tutorial on java pls sir it could a great step from you to help us!!!!!

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety +1

      hi venky
      i will try to upload them
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

    • @venkym3148
      @venkym3148 Před 6 lety +1

      Sure sir
      Already all of our friends are following your videos
      We have completed all the c language part
      Eagerly waiting for java videos and concepts
      Thank you sir

  • @sankalpvyas7365
    @sankalpvyas7365 Před 5 lety +1

    Works perfectly! Thank you sir.

  • @devisriprasad1350
    @devisriprasad1350 Před 4 lety

    Sir why dint we used variable as reaminder instead of array.?

  • @sadiachowdhury3322
    @sadiachowdhury3322 Před 5 lety

    Could not run it

  • @shamanths9724
    @shamanths9724 Před 6 lety +2

    Nice 1 sir..

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi shamanth
      thanks for your interest towards our channel and share my sessions with
      your friends and subscribe to our channel.Keep following our channel.

  • @Stephen_a2
    @Stephen_a2 Před 4 lety +1

    Super ra teach panringa🙏

  • @code9898
    @code9898 Před 2 lety

    👍👍👍👍

  • @prasadsolleti3870
    @prasadsolleti3870 Před 5 lety

    instead of using b[i] we can take remainder means how it works

  • @pavanchennur8411
    @pavanchennur8411 Před 6 lety

    After binary ....how to convert into 2's complement....

  • @thinkwith_shannu
    @thinkwith_shannu Před 5 lety

    Sir,please tell me the program of array of decimal numbers to binary

  • @tarunbhatt6385
    @tarunbhatt6385 Před 6 lety +1

    nice explanation sir...

    • @sundeepsaradhi
      @sundeepsaradhi  Před 6 lety

      hi Tarun
      thanks for your interest towards our channel and share my sessions with your friends and subscribe to our channel.Keep following our channel.

  • @PremChand-UQ
    @PremChand-UQ Před 5 lety

    Simple and osm explanation 😎

  • @jubayerhossain8726
    @jubayerhossain8726 Před 4 lety

    Thank you sir ,your programming c best

  • @shobhitranjan3957
    @shobhitranjan3957 Před 4 lety +2

    helped !

  • @ankityadavankit2966
    @ankityadavankit2966 Před 4 lety

    Thank you sir aap bahut good programming padate HP

  • @charangummadi6863
    @charangummadi6863 Před 3 lety

    ❤️❤️👏

  • @janaanvesh8677
    @janaanvesh8677 Před 4 lety

    sir i think this program is wrong bcz binary equivalent of 5 is 0101 but how it could it be 1010 ?

    • @janaanvesh8677
      @janaanvesh8677 Před 4 lety

      yeah sir igot it our program is converting 10 to binary, thank you

  • @markhensens5989
    @markhensens5989 Před 4 lety

    Not all heroes wear capes... Many thanks!! (:

  • @Satisfying_shorts_india

    Sir nice explanation sir
    Heart full thanks to u

  • @yashaswinishetty7624
    @yashaswinishetty7624 Před 4 lety

    Thank you sir...u just explained in simple way which we can understand easily ..

  • @golajanaroshini3984
    @golajanaroshini3984 Před 4 lety

    Thank u sir. It helped me alot.

  • @mdirshadalam2617
    @mdirshadalam2617 Před 4 lety

    defining the array size will be problematic in this way

  • @omkidix
    @omkidix Před 5 lety

    You are awasome sir.

  • @ananyamiriyala9618
    @ananyamiriyala9618 Před 5 lety

    Excellent sir..

  • @gopalcnjali
    @gopalcnjali Před 5 lety +1

    thankkkkkkkkk you so much sir

  • @thinkwith_shannu
    @thinkwith_shannu Před 5 lety

    Super explanation sir.

  • @Draxee2012
    @Draxee2012 Před 4 lety

    It was helpful😊

  • @abhinavsinhaa849
    @abhinavsinhaa849 Před 2 lety

    hi anna:)

  • @yashvanthbalaji359
    @yashvanthbalaji359 Před 5 lety

    sir please do more concepts and program in c

  • @allactivities3057
    @allactivities3057 Před 4 lety

    Nyc

  • @raghupatrunishashank7388

    Good sir

  • @sudarsanvs
    @sudarsanvs Před 6 lety

    not getting output sir
    only 0 appears

  • @nanthiniuma8363
    @nanthiniuma8363 Před 4 lety

    Good

  • @mudabbiralim9543
    @mudabbiralim9543 Před 3 lety

    Ap hindi ma hi parah lya Karn..

  • @sivaiahkunchala4259
    @sivaiahkunchala4259 Před 6 lety

    super sir

  • @leaguedoktor4436
    @leaguedoktor4436 Před 4 lety

    thx a lot

  • @OnlyChao
    @OnlyChao Před 4 lety

    Can anyone tell me a 11000000(2) is?

  • @nivedithanataraj8985
    @nivedithanataraj8985 Před 5 lety

    Thank you sir....

  • @webdevelopermh
    @webdevelopermh Před 4 lety

    Thank You sir

  • @user-py6nl7ln2u
    @user-py6nl7ln2u Před 4 lety

    thank u good sir