C_57 Two Dimensional Array program 2 | Program to print Transpose of Matrix

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

КОМЕНТАРІ •

  • @tanishka4464
    @tanishka4464 2 роки тому +93

    Ma'am 2 months back when I started coding, I could not understand anything. At that period thinking about coding gave me goosebumps. But 1 month back I discovered your channel and it was really kind of a blessing for me. You made my every doubt crystal clear. The way you explain each point makes the concept crystal clear. Really thank you, ma'am.❤x3000

  • @safalyakumbhare8756
    @safalyakumbhare8756 2 роки тому +204

    I think I m wasting my money in college because youtube and google is best way to clear our doubt and way better explained than college . Thank You😊😊

  • @Deepika_319
    @Deepika_319 Рік тому +12

    I started coding in this month (September 2023) and i checked a lot of lectures and channels... but this one is best....i understand evrythg clearly...i will complete all the languages from here...one of my senior told me about this channel amd now im addicted to jk❤️...thank you so much mam ❤

  • @anime.__.5501
    @anime.__.5501 2 місяці тому +2

    Really the best tutor i found understood the whole array concept THANKS JENNY MAM

  • @muhammadzakariya9390
    @muhammadzakariya9390 3 роки тому +6

    A.o.A Mam....today the day of Hajj day for the Muslim...being a humanity .next day will be a Eid day..with the heart touching.i wish you Eid-ul-Azha

  • @theenglishspeaker827
    @theenglishspeaker827 2 роки тому +4

    Mam I just don't know how much thanks I should say to you, these videos are very very helpful. Thanks a million!

  • @NikhilSarnaik-z5k
    @NikhilSarnaik-z5k Рік тому +19

    int rw_size , cl_size;
    printf("Enter the Row size :");
    scanf("%d",&rw_size);
    printf("Enter the Column size :");
    scanf("%d",&cl_size);
    int arr[rw_size][cl_size];
    printf("Enter the elements in an array :");
    for(int i=0 ; i

  • @PrateekMishra.
    @PrateekMishra. 3 роки тому +11

    Best Teacher forever ❤
    Thanks Ma'am

  • @theromanianfox4071
    @theromanianfox4071 2 роки тому +13

    I think for the homework you gave us,it's just a matter of transposing the initial matrix as you did,but using printf to state that "b" is the transposed matrix.
    Here is my code, Ma'am , and it worked :
    #include
    int main ()
    {
    int a [2][3];
    int i, j = 0;
    printf ("Please enter numbers for Matrix :
    ");
    for (i = 0; i < 2; i ++)
    {
    for (j = 0; j < 3; j ++)
    {
    scanf ("%d", &a [i][j]);
    }
    }

    printf ("The Matrix \"a\" is :
    ");
    for (i = 0; i < 2; i ++)
    {
    for (j = 0; j < 3; j ++)
    {
    printf ("%d\t", a [i][j]);
    }
    printf ("
    ");
    }
    printf ("The Transposed Matrix \"b\" is :
    ");
    for (i = 0; i < 3; i ++)
    {
    for (j = 0; j < 2; j ++)
    {
    printf ("%d\t", a [j][i]);
    }
    printf ("
    ");
    }
    return 0;
    }

    • @adarshrupeshjadhav8631
      @adarshrupeshjadhav8631 Рік тому

      .

    • @-VINITSHEORAN
      @-VINITSHEORAN Рік тому +14

      you did nothing diffrent #include
      #include
      int main() {
      int a[2][3],i,j,transpose[3][2];
      printf("enter the matrix
      ");
      for(i=0;i

  • @knowledgeimprover6342
    @knowledgeimprover6342 2 роки тому +3

    I am from iit but understand you better than my professor thanku you

  • @jeevaad6615
    @jeevaad6615 3 роки тому +11

    video starts at 2:39

  • @Chronicles-s2i
    @Chronicles-s2i Місяць тому

    Best explanation i had ever gone through

  • @gramawardsachivalayaminfo4209
    @gramawardsachivalayaminfo4209 2 роки тому +11

    Ma'am, I didn't got any idea how to store elements of one matrix into another matrix ( as you told in this video at 12:16), can you please give some hint on this

    • @handler12
      @handler12 Рік тому +1

      its very easy like in for loop a[i][j]=b[j][i];

    • @handler12
      @handler12 Рік тому +1

      at last print b[j][i]

  • @sinusgp
    @sinusgp Рік тому

    Mam ....hello...super way of explaining coding methods in c ...your way of teaching making us to understand complicated things in easiest way ..thanks for sharing

  • @javierv.5242
    @javierv.5242 Рік тому

    Ma'am, I had to sign into google to tell you that you are doing a good job. I have not watched many of your lectures recently because of the holidays and I was bored with the material after about 50 lectures, but I hope to continue going! Thanks from Los Angeles, CA! God bless you!

  • @sasikalakarnatakam4354
    @sasikalakarnatakam4354 2 місяці тому

    Ur the best teacher❤😊

  • @rajat-l1j
    @rajat-l1j 10 місяців тому

    Mam you are far better than my university teachers ❤

  • @001pullayithrisha2
    @001pullayithrisha2 2 роки тому +7

    we have to initialize b
    Then printf("b=
    ",b)

  • @SaniyaMomin-f5c
    @SaniyaMomin-f5c Рік тому +1

    Jenny's lectures is the best.

  • @MdRubel-hr5ur
    @MdRubel-hr5ur Рік тому

    Thanks ma'am for help us . Your teaching method is very easy and comfortable . I always understand your logic.

  • @pratikdubey1171
    @pratikdubey1171 3 роки тому +9

    Pls make a video on* inverse of a matrix*

  • @Sandy-me2sw
    @Sandy-me2sw 2 роки тому +2

    U stole my heart 😍😍

  • @VeereshN-x5q
    @VeereshN-x5q 15 днів тому

    Mam your teaching inis very good

  • @jayamishra9431
    @jayamishra9431 Рік тому

    Thankyou ma'am really very easy explanation ever!!!
    One thing I want to told you our name is same I m really glad 🥰.

  • @sachin.rsachi1221
    @sachin.rsachi1221 3 місяці тому

    Mam while transposing will row becomes j and coloum becomes i..

  • @it033vineetkumar2
    @it033vineetkumar2 3 роки тому +16

    this is what i coded for transpose. in this dimension of array can be variable(we can declare it at run time).
    #include
    int main()
    {
    int a[100][100],b,c,i,j;
    printf("\tTranspose of a Matrix!
    ");
    printf("Enter Dimension of Matrix :
    ");
    scanf("%d%d",&b,&c);
    printf("Enter elements of Matrix :
    ");
    for ( i = 0; i < b; i++)
    {
    for ( j = 0; j < c; j++)
    {
    scanf("%d",&a[i][j]);
    }

    }
    printf("Matrix formed by provided information is
    ");
    for ( i = 0; i < b; i++)
    {
    for ( j = 0; j < c; j++)
    {
    printf("%d\t", a[i][j]);
    }
    printf("
    ");
    }
    printf("
    Transpose of the provided matrix is :
    ");
    for ( i = 0; i < c; i++)
    {
    for ( j = 0; j < b; j++)
    {

    printf("%d\t",a[j][i]);
    }
    printf("
    ");
    }

    return 0;
    }

    • @believer.1201
      @believer.1201 2 роки тому +2

      But declaring an array size as hundred will waste memory na??
      Btw thanks:D

  • @nobra2146
    @nobra2146 Рік тому

    Ma'am you are the best teacher of me.

  • @ganeshdharavath1530
    @ganeshdharavath1530 Рік тому

    Your teaching never before ever after..

  • @poojaraskar5037
    @poojaraskar5037 3 роки тому +19

    Mam when are you going to teach Structure, union and Pointers

    • @741ibrahim2
      @741ibrahim2 3 роки тому +2

      yes its an imp topic

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

      Hello friends I created a video..
      Transpose of matrix so you please watch this video
      ua-cam.com/video/oHNjaZcOpZs/v-deo.html

  • @RehanAnsari-eu7ru
    @RehanAnsari-eu7ru 11 місяців тому +1

    Mam your lecture are more beautiful as beautiful as you are ❤❤

  • @srikarballeda2735
    @srikarballeda2735 9 місяців тому

    Mam I have doubt
    In for loop we use semicolon

  • @741ibrahim2
    @741ibrahim2 3 роки тому +6

    12:53 mam has gave us the hint

  • @BECKARISHMAG
    @BECKARISHMAG 3 роки тому +5

    It is easy to understand mam.Thank you.

  • @thulasireddy1122
    @thulasireddy1122 3 роки тому +2

    mam how to work with gcc in lunux machine in c language practice and dubug our cade could you please explain one detailed VEDIO on this mam.

  • @mihirjoshi6798
    @mihirjoshi6798 3 роки тому +2

    ma'am i got segmentation fault error while running the same code , which you explained!! . please help me

  • @satheeshsasidharan45
    @satheeshsasidharan45 Рік тому +1

    Ma'am, I didn't get any idea how to store elements of one matrix into another matrix. can you please give some hint on this

  • @JayasreeGhosh
    @JayasreeGhosh 3 роки тому +12

    MA'AM.. PLEASE START MAKING VIDEOS ON FUNCTIONS IN C... REALLY FACING A LOT OF PROBLEMS WITH THIS... HOPE TO GET IT BEING CLEARED BY YOUR VIDEOS... PLZ UPLOAD FUCTIONS () VIDEOS!.....

    • @Dr.Cmbilal
      @Dr.Cmbilal 3 роки тому

      ua-cam.com/video/yEGJ1KeQuzE/v-deo.html

  • @palakrajak9145
    @palakrajak9145 3 роки тому +3

    Mam Can Uh Make One Separate Vdo For Campus Placement Preparation

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

    Lecture start at 2:37

  • @anushkayadav8443
    @anushkayadav8443 6 місяців тому

    Nice explanation ma'am

  • @Disha_Jarad
    @Disha_Jarad 2 роки тому +3

    Nice teaching👏👏👏

  • @lovelyheartwaitingforyou2439
    @lovelyheartwaitingforyou2439 3 роки тому +2

    Your class are clear tqq madam

  • @Preetisharma-sh9dk
    @Preetisharma-sh9dk 2 роки тому +3

    Thank you ma'am for your explanation 🙂

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

      Hello friends I created a video..
      Transpose of matrix so you please watch this video
      ua-cam.com/video/oHNjaZcOpZs/v-deo.html

  • @piyushkumawat528
    @piyushkumawat528 Рік тому

    online compiler gives garbage value if i use sum inside for loop for reading array. but my system cmd does not why is that. the program is same

  • @rifihari8705
    @rifihari8705 3 роки тому +5

    Mam. Plse upload the series of oops concepts in java.

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

    I love you ma'am ❤

  • @chiradeepbhattacharya2122
    @chiradeepbhattacharya2122 2 роки тому +3

    Ma'am please help us with Java programming series ASAp, because of you I started to love coding from a Non - CS Background.

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

    Mam please make a video on function

  • @tnjmathi967
    @tnjmathi967 3 роки тому +1

    mam this pgm getting, is not proper output

  • @nirmalaravind3812
    @nirmalaravind3812 Рік тому

    start at 2:40

  • @sudeepkm1000
    @sudeepkm1000 3 роки тому +2

    Ma'am can you plz make videos on matrix multiplication, addition, and to check whether matrix is upper triangular or lower triangular matrix

  • @58162O
    @58162O 2 роки тому +3

    Thank u so much mam....
    I need more videos

  • @Mohankumar-hy4og
    @Mohankumar-hy4og 3 роки тому +1

    Mam you have 2 by 3 matrix is available then you solve it simple way.
    If i have a 3 by 3 matrix is available then how can solve it program..

  • @letlearnEnglish1356
    @letlearnEnglish1356 3 роки тому +1

    Mam aap ka online course he kay

  • @GooodGagets
    @GooodGagets Рік тому

    It's transpose right , that means rows into columns and columns into rows
    We are write with 2 for loop , one for row and another for column just Swift them that's all
    Example ,
    for(i=0; i

  • @VarunkumarAlamuru
    @VarunkumarAlamuru 29 днів тому

    🎉🎉🎉🎉🎉🎉🎉🎉🎉

  • @iasaspirant1441
    @iasaspirant1441 2 роки тому +2

    superb explanation mam

  • @gskerbecs9513
    @gskerbecs9513 11 місяців тому

    Thanks alot mam

  • @emanisuresh8219
    @emanisuresh8219 3 роки тому +1

    Mam,, i cant find C_46 video in this play list.. please some one let me know if found..

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

    Maam vc coder may c ka debug kaise set kare

  • @stormbreaker2791
    @stormbreaker2791 4 місяці тому +1

    why can't i find this channel before 2 years :)

  • @shahjamalSK
    @shahjamalSK 10 місяців тому

    Take love from ☺Dhaka

  • @CNILOYBARUA
    @CNILOYBARUA 2 роки тому +2

    Excellent mam

  • @dileryadav9983
    @dileryadav9983 Рік тому

    kya gajab batate h mam.

  • @ParamitaDey-bi1mg
    @ParamitaDey-bi1mg 3 роки тому

    I cannot understand why during taking the array inputs we use address of sign (&) but while printing array we are not using address of sign (&) why ?? If anyone know pls tell me

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

      Let me take an ex for better understanding if you entered a value of 7 it will go and save in any xyz address memory , to display the value you have entered you will use printf so if you use & it will show you address of the entered number not the number you have entered (7) so to display the number you have entered we use & in scanf to get the entered number not the address of the entered number. Hope I have cleared your doubt 🙂.

    • @ParamitaDey-bi1mg
      @ParamitaDey-bi1mg 3 роки тому

      @@theshahzorahmed6967 😭😭 I can not understand why to write address of (&) in scanf.... 😣😣😞😞 .. I understood that in prinf we do not use address of because if we use it then it will print the address not the number

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

      @@ParamitaDey-bi1mg in scanf you take the input from user & store it in the address.. that's why we use address of(&)

  • @kabilankabilan2128
    @kabilankabilan2128 Рік тому +1

    nice da.😊😊👍👍

  • @sociopatchcoder5582
    @sociopatchcoder5582 3 роки тому +2

    want operating systems lectures .. pleasse also teach that subject

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

    Could someone tell me that whenever I write a program like printing stars pattern and some other programs like that ,they should work without any error from void main() but when I compile it says "main must return int"?!!

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

      U might have declare I and j in int variable🙄..

    • @shailendrapawar7923
      @shailendrapawar7923 3 роки тому +1

      And at last try by adding return 0; when u use int values..

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

      @@shailendrapawar7923 but when Jenny ma'am did it it ran well!! How so?

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

      @@shailendrapawar7923 in pattern printing videos!

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

      Yes ,,isaw that 😳,,but I tried that program in my own way🙄,,,,did u exactly copied?? The whole stuff.??

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

    I dont know M about matrix , but still liked this video

  • @Beginnercodingworld
    @Beginnercodingworld Рік тому

    Mam u are the best 👌

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

    Mam aap bohot achhe lag rahe ho ❤️

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

    I need assignment answer mam ..😥

  • @ak_08pravindhamale62
    @ak_08pravindhamale62 3 роки тому +2

    Thank u mam ❤️

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

    Mam please so remobing dublicate and print unique numbers in array

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

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤

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

    Mam interchange mattrix me a(j)(i)

  • @sairampolisetty2059
    @sairampolisetty2059 3 роки тому +1

    Mam now I am watching data structures in your plalist but you posted arrays video .
    😂😂😂

  • @blaze102
    @blaze102 Рік тому

    Second Method to find the transpose
    #include
    int main()
    {int n,i,j,x=0;
    int arr[3][2]={1,2,4,5,6,7};
    int b[2][3];
    for(i=0;i

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

    But 2,3 array it's just for look, what if robot take any random size metric as like 1x5, 6x2, 8x4, 3x10... What ever

  • @poojaraskar5037
    @poojaraskar5037 3 роки тому +1

    Thanks for video

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

    U r best mam.

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

    Love you and thank you ma'am

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

    thanks maam for very nice teach us
    mossst thanks maam

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

    Thank you didi❤️💕

  • @SHORT-TECH48
    @SHORT-TECH48 3 роки тому

    2:40

  • @AVANTHIKAR-qn1zu
    @AVANTHIKAR-qn1zu Рік тому +9

    #include
    int main ()
    {
    int a [2][3];
    int i, j = 0;
    printf ("Please enter numbers for Matrix :
    ");
    for (i = 0; i < 2; i ++)
    {
    for (j = 0; j < 3; j ++)
    {
    scanf ("%d", &a [i][j]);
    }
    }
    printf ("The Matrix \"a\" is :
    ");
    for (i = 0; i < 2; i ++)
    {
    for (j = 0; j < 3; j ++)
    {
    printf ("%d\t", a [i][j]);
    }
    printf ("
    ");
    }
    printf ("The Transposed Matrix is :
    ");
    int b[3][2];
    for (i = 0; i < 3; i ++)
    {
    for (j = 0; j < 2; j ++)
    {
    printf ("%d\t", a[j][i]);
    b[i][j] = a [j][i];
    }
    printf ("
    ");
    }
    printf ("
    The Transposed Matrix using variable b is :
    ");
    for (i = 0; i < 3; i ++)
    {
    for (j = 0; j < 2; j ++)
    {
    printf ("%d\t", b[i][j]);
    }
    printf ("
    ");
    }
    return 0;
    }
    OUTPUT:
    Please enter numbers for Matrix :
    1
    2
    3
    4
    5
    6
    The Matrix "a" is :
    1 2 3
    4 5 6
    The Transposed Matrix is :
    1 4
    2 5
    3 6
    The Transposed Matrix using variable b is :
    1 4
    2 5
    3 6

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

    Every next looking more smart

  • @chandanmishra5274
    @chandanmishra5274 Рік тому +1

    Ma'am lots of syntax error.

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

    Hum first,hum first..

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

    Thanks teacher

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

    Following will be the answer of the assignment mam has given
    #include
    int main()
    { int a[3][4]={1,2,3,4,5,6,7,8,9,10,11,12};
    int b[4][3];
    int i,j,m, k,l=0;
    printf("The transpose of the matrix is
    ");
    for(i=0;i

  • @theconfidential6278
    @theconfidential6278 Рік тому

    Mam you can start coding courses

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

    "KUMNAV GATE CSE" UA-cam channel for CSE/IT subjects

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

    When are you going to teach pointer

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

    Itana program likhe Isase jaldi to me book me solve kardu😂😂😂
    But ye bhi jaruri he ╭∩╮︶︿︶

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

    Thank you

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

    7:23 ---> \t

  • @KARxdreamBOY
    @KARxdreamBOY 3 роки тому +1

    Directagi matrig barammo

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

    C program to calculate multiplication and transpose of matrix .
    Please 🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺🥺
    Give this code

  • @ajayvarma-bg7uu
    @ajayvarma-bg7uu 3 роки тому

    Please start c++ course I can't found any proper content in UA-cam please