Here We Will Learn To Program C. I'll try To give my Best To Make you understand.
"Let's Begin"
![]() |
A Programme To Add Two Matrix or Array. |
We Have Determined The Maximum Length Of Array to Be 5 x 5(a[5][5]).
a[5][5]= Matrix A. b[5][5]= Matrix B. sum[5][5]= Output Or Sum Matrix.
i and j are Taken As Loop Elements.(To Run The Loop)
r as Numbers Of Rows & c as Numbers Of Column which Are taken From User(Max length 5)
In Total 6 Loop Are Used Two For "A Matrix" , Two For "B Matrix" and Two For Sum And Printing of the Sum Matrix.
OUTPUT |
Download Link Of Above Programme:-
How to Use it.
Download File >Go To Turboc3(or turboc folder)>bin>Paste File>
open Turbo c Application>File>open(or F3)>Select File
NOTE:- Above File Can Be Opened With Other Compilers(Like code blocks, visual studio, etc.), Some Changes Might Require.
THANKS