Why array index always begins with 0 in C language

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

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

  • @ankitjha7989
    @ankitjha7989 6 лет назад +18

    This video helps me to crack interview...thnq sir

  • @asimsha7356
    @asimsha7356 4 года назад +10

    Dear Sir, I have a question. In which playlist is this video "why array index always begins with 0 in C language " ?.
    Some videos are not in playlist and this gets problematic. Similarly a video named "call by value and call by reference in C language" is also not in playlist. Please please include all videos related to C language in the C playlist so that it gets easier to follow the sequence of all video lectures.

  • @Vasudev-kutumbkam-100-crore
    @Vasudev-kutumbkam-100-crore 2 года назад +1

    Kya sir G awesome itna simple way mein samjhaya aapne awesome

  • @BeHappy-br5vd
    @BeHappy-br5vd 6 лет назад +1

    Aapki is video se mjhe bhut cocepts clear hue...
    Thanks a lot sir... ☺️☺️

  • @EBKCS_JAYSHREE_DADHEECH
    @EBKCS_JAYSHREE_DADHEECH 5 лет назад +3

    Really good work,it cleared my confusion thankyou sir . And keep on making videos like this .

  • @kalpeshtawde
    @kalpeshtawde 7 лет назад +1

    This is really the best video to answer this question. Thanks a lot.

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

    Awesome Explanation,Thank You so much sir,this helps me a lot, And change my view towards programming ,You are one of the best sir of my life,I really appreciate your Knowledge,You are god of students,And You are Like an IITian for every student,Thank You So much sir......

  • @pravinkhakse
    @pravinkhakse 8 лет назад +1

    thank a lot sir, for providing such knowledge in free. hats of to you sir. really thanks.

  • @shubhamguru9223
    @shubhamguru9223 8 лет назад +2

    u r awesome sir u just changed my view towards IT...
    THANK YOU SO MUCH

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

    Thank you so much sir yours videos are really knowledgeable and helping. Day by day i am getting intrest towards programming. .

  • @shoummorauth
    @shoummorauth 7 лет назад +2

    I am still a bit confused about the fact: still the index 1 could be the starting index. If we started the array index with a[1] I think much won't change, just the starting value would be assigned in index 1 instead of 0. Coudn't the creator of C language just skipped the zero index?

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

      Did you get your answer? Please let me know if you did. Would be a great help.

  • @mohansaini5583
    @mohansaini5583 8 лет назад

    sir array ko reverse copy kese krenge by use of pointers

  • @syedsaad2337
    @syedsaad2337 7 лет назад +2

    Sir You are the best Teacher of my Life .. Ap jesa teacher pakistan me kahin nhe milega

    • @mysirgdotcom
      @mysirgdotcom  7 лет назад +2

      Honored

    • @mihirdaka6755
      @mihirdaka6755 6 лет назад

      MySirG.com Hello I am making my project
      So what I want do is i want to join 2 index of array.
      Example:
      I[2]={1,2};
      Soni need an output like 12.
      Joining i[0] and I[1].

  • @HaiderAli-fb2le
    @HaiderAli-fb2le 7 лет назад +1

    Sir, this is not sufficient Array Lecture as per C Program Please load any more, as per C O Level
    Book

  • @poonamangare6824
    @poonamangare6824 6 лет назад

    Sir u are great apne mere daughter clear ka die sir Mai apka follow Marta wah sir ur best teacher

  • @Adityasingh-kg2cj
    @Adityasingh-kg2cj 7 лет назад

    Thnx sir . keep dooing ur work , You are great in teaching.

  • @WaqasAhmed-om8ph
    @WaqasAhmed-om8ph 5 лет назад

    sir two Question hain.
    Q1)first how we can say that any program has fixed in sized. ?
    . Q2) how we estimate total size of program?

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

    `thanks sir, helpful video .

  • @mihirdaka6755
    @mihirdaka6755 6 лет назад

    Hello I am making my project
    So what I want do is i want to join 2 index of array.
    Example:
    I[2]={1,2};
    Soni need an output like 12.
    Joining i[0] and I[1].

  • @anjalipatel9028
    @anjalipatel9028 6 лет назад

    kuchh samjh nhi aa rha hai is topic k regarding ki isme mujhe btana kya hai??????

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

    Great concept ♥️

  • @ronnybanerjee6020
    @ronnybanerjee6020 7 лет назад +2

    sir you are great. Hats off to your teaching skills,

  • @chandrashekhar7596
    @chandrashekhar7596 8 лет назад +1

    सर आप बहुत अच्छा कार्य कर रहे है

  • @anjalipatel9028
    @anjalipatel9028 6 лет назад +1

    sir aap Smart Memories p vedio bna dijiye.Mera seminar hai is topic p.

    • @ishantkushwaha6202
      @ishantkushwaha6202 5 лет назад

      Go to my channel I have made one vedio related to that 😊

  • @poonamchaurasia2484
    @poonamchaurasia2484 6 лет назад

    Excellent Explanation Sir Ji

  • @prateekgoyal9200
    @prateekgoyal9200 6 лет назад

    SIR,aap isme pointer ka concept ku de rahe??

  • @ayushbasandrai3071
    @ayushbasandrai3071 7 лет назад +1

    Awesome video sir

  • @Gbbcvvv
    @Gbbcvvv 8 лет назад

    immediate & remaining we late u know. mean..........
    . kaha kaha use ho sakta hai
    isse re lated dusra sentence

  • @AnilSingh-cr8qu
    @AnilSingh-cr8qu 4 года назад +1

    Thank you Sirjiiii.😘😘😘

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

    Ye videos lakh ka package laga sakta hain... Pranam sir ji 🙏🙏

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

    Good Explanation

  • @Dhruv-qw7jf
    @Dhruv-qw7jf 4 года назад +2

    Mind. Blown!

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

    Thankyou so much sir....

  • @dheerajgoyal7362
    @dheerajgoyal7362 5 лет назад

    7:08 sir int 2 bytes ka hota he

    • @dheerajgoyal7362
      @dheerajgoyal7362 5 лет назад

      Also if I add value to array using for loop then I can start with 1 and there is no error. Why?

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

      Gcc me 4 bytes hota hai

    • @SachinSachin-oo9eb
      @SachinSachin-oo9eb 3 года назад

      Depend on compiler and architecture

  • @RaviRavi-mj1le
    @RaviRavi-mj1le 8 лет назад

    sir aap k jese koi b great teacher nhi h..

  • @deepaksinghitservices2445
    @deepaksinghitservices2445 6 лет назад

    superbb sir jee

  • @saqibjallal
    @saqibjallal 7 лет назад +2

    Sir I am confused right now as you have already said that int type variable consumes 2 byte memory but in this video you are saying 4 bytes.. please clear it SIR!

    • @monishussain2839
      @monishussain2839 7 лет назад +1

      saqib beliebs08 It depends upon the architecture of your system..in 16 bit architecture we use 16 bits for integers i.e.2 bytes...but if you will be using 32 bits or 64 bits architecture then integer will take 4 bytes...

    • @saqibjallal
      @saqibjallal 7 лет назад

      Monis Hussain thanks a lot for clearing my doubts!

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

    Wow amazing

  • @yashdavare1896
    @yashdavare1896 8 лет назад +2

    thanks sir just bcoz of u , i passed in C lang.

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

    Explanation starts only at 13:45 but unfortunately that too not accurate

  • @pradeepbirla696
    @pradeepbirla696 5 лет назад

    Great sir

  • @AmandeepSingh-sx9ke
    @AmandeepSingh-sx9ke 6 лет назад

    thank you sir..

  • @VinodThakur-i4i
    @VinodThakur-i4i 6 лет назад

    ur the best sir

  • @nikhilgudadhe4818
    @nikhilgudadhe4818 8 лет назад +1

    thank you sir :)

  • @siddhantsareen6628
    @siddhantsareen6628 7 лет назад

    really nice one!

  • @subhadeepghosh2813
    @subhadeepghosh2813 7 лет назад +2

    great sir.just great

  • @adityaghosh8601
    @adityaghosh8601 7 лет назад

    Thx you so much sir

  • @muhammadshoaib4565
    @muhammadshoaib4565 8 лет назад

    thanks sir

  • @simransingh5137
    @simransingh5137 7 лет назад

    great

  • @MrAnindyabanerjee
    @MrAnindyabanerjee 5 лет назад

    not clear sir!!!

  • @virupatel5155
    @virupatel5155 8 лет назад +1

    superb sir.....

  • @deeps.r.7867
    @deeps.r.7867 5 лет назад

    I what straight away answer

  • @kidscaliberschoolwanadogar6432
    @kidscaliberschoolwanadogar6432 6 лет назад

    I like

  • @raveeshchauhan9852
    @raveeshchauhan9852 8 лет назад

    thank you sir

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

    this video can be skipped

  • @poojachitalkar9245
    @poojachitalkar9245 6 лет назад +1

    thank u sir