C program to find transpose of a matrix using dynamic memory allocation
Answers
Answered by
3
Answer:
Program to Find the Transpose of a Matrix
#include <stdio.h>
int a[10][10], transpose[10][10], r, c, i, j;
printf("Enter rows and columns: ");
scanf("%d %d", &r, &c);
// Assigning elements to the matrix.
printf("\nEnter matrix elements:\n");
for (i = 0; i < r; ++i)
for (j = 0; j < c; ++j) {
Answered by
2
refer to the attachment
Attachments:
Similar questions
Science,
5 months ago
English,
5 months ago
Social Sciences,
5 months ago
Environmental Sciences,
10 months ago
Math,
10 months ago