Array: Write A C Program To Check Whether The Matrix Is Symmetric
Array: Write A C Program To Check Whether The Matrix Is Symmetric
for (c = 0; c < m; c++)
for (d = 0; d < n; d++)
scanf("%d", &matrix[c][d]);
for (c = 0; c < m; c++)
for (d = 0; d < n; d++)
transpose[d][c] = matrix[c][d];
return 0;
}
Write a c program to perform multiplication of 2 matrices
#include <stdio.h>
void main()
{
int arr1[50][50],brr1[50][50],crr1[50]
[50],i,j,k,r1,c1,r2,c2,sum=0;
#include <string.h>
int main(){
char string1[20];
int i, length;
int flag = 0;
printf("Enter a string:");
scanf("%s", string1);
length = strlen(string1);
if(string1[i] != string1[length-i-1]){
flag = 1;
break;
if (flag) {
else {
return 0;