size_t In C And C++

Поділитися
Вставка
  • Опубліковано 14 гру 2024

КОМЕНТАРІ • 38

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

    new favourite channel. Great Videos!

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

    Finally someone who clears it! Thanks a lot!

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

    Thank you sir for clearing my annoying doubt.

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

      You are welcome..

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

    Thankyou so much for explain size_t.

  • @MindFlowBYT
    @MindFlowBYT 4 роки тому +6

    That is one great video but could you explain to me what is the difference between size_t and unsigned long long in 64bit for example? Because I do not understand why should I use size_t instead of unsigned type.

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

    most under-rated one......!!

  • @benbenson8967
    @benbenson8967 4 роки тому +1

    SUPER helpful thank you!

    • @CppNuts
      @CppNuts  4 роки тому +1

      Glad it helped.

  • @aninexclusive466
    @aninexclusive466 4 роки тому

    You're an amaizing teacher.

  • @yutaitadori7318
    @yutaitadori7318 4 роки тому

    U r loyal to your viewers 👏

  • @clinitajoy5709
    @clinitajoy5709 4 роки тому +1

    Thnk you so much🥰

    • @CppNuts
      @CppNuts  4 роки тому

      You’re welcome 😊

  • @cid007007
    @cid007007 4 роки тому +1

    #include
    using namespace std;
    void print(size_t count)
    {
    while(count++)
    {
    cout

    • @CppNuts
      @CppNuts  4 роки тому +5

      It wont give any warning, it will just go to reverse.
      meaning for example suppose if size_t supports number from 0 to 100 and you said -1 it will print 100 and if you say -2 it will print 99. So it goes in reverse.
      Please do this experiment with char, because it is smaller and you can get the realisation quickly.
      Example:
      unsigned char c = -1;
      cout

  • @abhinavchauhangujjar6456
    @abhinavchauhangujjar6456 6 років тому +3

    You deserve more subscribers

  • @amineahardane999
    @amineahardane999 6 років тому

    what does it mean "big enough" ? size_t choose the type in base of your operations? or just the biggest size of the system? and if i must rappresent for example, n>0 && n

    • @ashwinalagiri-rajan1180
      @ashwinalagiri-rajan1180 2 роки тому +1

      by big enough I think he means that the size of the integer that you create with size_t matches the size of architecture of your os. 64 bit -> 64 bit int 32 -> 32bit int

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

    Have u any other social media platform , I wanna join. Brother'!! You are very great❤️

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

      Check description..
      Or check channel page for linkedin.

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

    Hello man.

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

      Hello there

  • @raulsebastianriveramartine9821
    @raulsebastianriveramartine9821 5 років тому

    i see , just accepts positive values!!thats it.

  • @frenchmike
    @frenchmike 5 років тому +1

    screen is dark, can't see

  • @jubeshjoseph1766
    @jubeshjoseph1766 5 років тому +1

    Music atfirst?

    • @CppNuts
      @CppNuts  5 років тому

      To refersh the mood 😁

    • @jubeshjoseph1766
      @jubeshjoseph1766 5 років тому +1

      @@CppNuts i mean what is the music that you used beginning of your video bro?

    • @jubeshjoseph1766
      @jubeshjoseph1766 5 років тому +1

      @@CppNuts Anyway your tech good ,i like it!

    • @CppNuts
      @CppNuts  5 років тому +1

      I took it from some online free music website, and i forgot that website. 😊

    • @jubeshjoseph1766
      @jubeshjoseph1766 5 років тому +1

      @@CppNuts anyway i got it it's ua-cam.com/video/PrSJ952t6QI/v-deo.html