Arrays and pointers - C programming #4

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

ความคิดเห็น • 29

  • @jackmanjls
    @jackmanjls 5 ปีที่แล้ว +1

    Excellent, explained precisely, good visual demos

  • @smaranikabohidar2844
    @smaranikabohidar2844 3 ปีที่แล้ว

    Excellent!!!! It really help me a lot.

  • @theblackelephant
    @theblackelephant 2 ปีที่แล้ว

    Sir am very grateful that you helped me understand C programming.

  • @Olavotemrazaodenovo
    @Olavotemrazaodenovo 4 ปีที่แล้ว +1

    Congratulations from Brazil.

    • @BBarters
      @BBarters  4 ปีที่แล้ว

      Gracias !

  • @zaza3748
    @zaza3748 5 ปีที่แล้ว

    Master class
    Perfect...
    Real talent

  • @Hredoy240
    @Hredoy240 5 ปีที่แล้ว

    Awesome explanation. Thank you. Love from Bangladesh.

  • @vshinde901
    @vshinde901 5 ปีที่แล้ว

    Thank you, Sir, excellent way of teaching.....

  • @suyashpatekar1896
    @suyashpatekar1896 7 ปีที่แล้ว +1

    very well explained!! thank you, sir.

  • @prashanttamang9940
    @prashanttamang9940 5 ปีที่แล้ว

    wow!
    excellent explaination sir.

  • @nilaypaul9810
    @nilaypaul9810 7 ปีที่แล้ว +5

    if possible just give a number to your videos. It will be helpful to see in order. and thank you

  • @akashsingh-jr4qx
    @akashsingh-jr4qx 6 ปีที่แล้ว

    I got what i was looking for .thank you.

  • @sabahatfatima6541
    @sabahatfatima6541 7 ปีที่แล้ว

    Very well made!

  • @Odinembeded04
    @Odinembeded04 6 ปีที่แล้ว

    You're actually the best

  • @kanishkadas4482
    @kanishkadas4482 7 ปีที่แล้ว

    your tutorials are good.if possible please provide tutorials on jsp&servlet.

    • @ak26_royal_ballari
      @ak26_royal_ballari 7 ปีที่แล้ว

      Kanishka Das it's very understandable for the way your giving the examples thank u😁😀

  • @phanthanh4803
    @phanthanh4803 5 ปีที่แล้ว

    In 5:22, address of a is 1000, so address of b is 1000 (but 2000); pass reference.

  • @stevengalvis1270
    @stevengalvis1270 7 ปีที่แล้ว

    very well explained sir

  • @tango_yt.
    @tango_yt. 6 ปีที่แล้ว

    as you said that the function will receive the address of the array defined in main function so isnt it going to use the same memory space or in simply the same array?

    • @tango_yt.
      @tango_yt. 6 ปีที่แล้ว

      as the array name which is defined in the main function will pass as an argument to the display function?

    • @tango_yt.
      @tango_yt. 6 ปีที่แล้ว

      #include
      #include
      using namespace std;
      int pause = 0;
      void display(int b[5], int size){
      for (int i = 0; i < size; i++){
      printf("
      %d",b[i]," at:");
      printf(" %d", &b[i]);
      }
      }
      void main(){
      int num[] = { 2, 4, 6, 8, 10 };
      printf("
      In main function.");
      for (int i = 0; i < 5; i++){
      printf("
      %d", num[i], " at:");
      printf(" %d", &num[i]);
      }
      display(num,5);
      scanf("%d", pause);
      }

  • @krupalibusa1143
    @krupalibusa1143 6 ปีที่แล้ว

    hello sir I am using turbo c++ editor in window 10 and int is incremented by 2 byte and you increment by 4 why?

  • @divyauppuleti3310
    @divyauppuleti3310 6 ปีที่แล้ว

    Better explaination

  • @shahzadalam-gc2ru
    @shahzadalam-gc2ru 7 ปีที่แล้ว

    Respected Sir , please upload on Pointer to 2d Array... Please sir

  • @sourabh.m476
    @sourabh.m476 6 ปีที่แล้ว

    I have a huge doubt now! Firstly u have written int *p =a;(u said it stores the adress of a), but nextly u said *p gives the values of the adress...im confused

    • @karthiknair3077
      @karthiknair3077 6 ปีที่แล้ว

      int *p defines p as a pointer, here the (int *) says that p is a special variable that stores address of some int variable. But when you do printf("%d", *p) --> here * means value at address stored by p. Hope u got the difference.

  • @dollartracker
    @dollartracker 6 ปีที่แล้ว

    Thank you @bbarters

  • @kelothshirisha8098
    @kelothshirisha8098 6 ปีที่แล้ว

    Sir pls post the let us c book solutions pls with in 2days pls sir plsssss

  • @abhisheksahu964
    @abhisheksahu964 6 ปีที่แล้ว

    You are ✋+