2D array in C || video 18 || normie coder

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

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

  • @teentagertalks3340
    @teentagertalks3340 22 дня назад

    your videos are awesome but pls bring c++ series as well

  • @originalcontentcreator7
    @originalcontentcreator7 27 дней назад

    Bhai mujhe 3D array sikhni thi is zamane mai 2d purana ho gaya

  • @RahulGupta-z1f
    @RahulGupta-z1f 26 дней назад

    ye wali playlist me apne grp me bhejra

    • @danknormie2276
      @danknormie2276  26 дней назад +1

      arrey dhanybad bhai tujhe bhi bulaunga 10 million dollar wale challange me jab 100 million subs ho jayege...

  • @nowayhome8754
    @nowayhome8754 26 дней назад

    Bhai 4d array he kya

    • @danknormie2276
      @danknormie2276  26 дней назад

      bhai ye sab matrix h... escape the matrix.

  • @RahulGupta-z1f
    @RahulGupta-z1f 26 дней назад

    abe ek 480p wali quality bhi rakha kr

    • @danknormie2276
      @danknormie2276  26 дней назад +1

      arrey bro patani youtube me kya aag lagi h 480p wala option hi nhi dera...

  • @danknormie2276
    @danknormie2276  27 дней назад

    ye le taple...
    #include
    // in a 2d array every element is a array
    int main(){
    // int numbers[2][3] = {
    // { , , },
    // {4,5,6},
    // };
    int numbers[3][3];
    int lallunumbers[3][3];
    int balaknumbers[3][3];
    numbers[0][0] = 1;
    numbers[0][1] = 2;
    numbers[0][2] = 3;
    numbers[1][0] = 4;
    numbers[1][1] = 5;
    numbers[1][2] = 6;
    numbers[2][0] = 7;
    numbers[2][1] = 8;
    numbers[2][2] = 9;
    lallunumbers[0][0] = 1;
    lallunumbers[0][1] = 2;
    lallunumbers[0][2] = 3;
    lallunumbers[1][0] = 4;
    lallunumbers[1][1] = 5;
    lallunumbers[1][2] = 6;
    lallunumbers[2][0] = 7;
    lallunumbers[2][1] = 8;
    lallunumbers[2][2] = 9;
    int row = sizeof(balaknumbers)/sizeof(balaknumbers[0]);
    int col = sizeof(balaknumbers[0])/sizeof(balaknumbers[0][0]);
    printf("row:%d
    ",row);
    printf("col:%d
    ",col);
    for(int i = 0; i