You are viewing a single comment's thread. Return to all comments →
what's the use of k here?? k=size-1...and k-- ? can Anyone help out..please
Try writing a matrix in a paper and also give values to i,j,k as given above. You will understand why we need "k" much better that way, than just reading the code.
yes I dont get k?
i reprents rows,j represents columns
well you can use i in place of k that's not a problem that's just a variable used for looping
Here is the video explaination- https://youtu.be/f6bTIsj9ne8