Write a C program to transpose of a matrix.
#include<stdio.h> #include<conio.h> main() { int a[10][10],b[10][10],m,n,i,j; printf("\n enter the dimension of the matrix"); scanf("%d %d",&m,&n); printf("\n enter the elements(row wise)"); for(i=0;i<m;i++) { for(j=0;j<n;j++) scanf("%d",&a[i][j]); } for(i=0;i<n;i++) { for(j=0;j<m;j++) b[i][j]=a[j][i]; } printf("\n the transpose matrix is \n"); for(i=0;i<n;i++) { for(j=0;j<m;j++) printf("%d\t",b[i][j]); printf("\n"); } getch(); }
Output:
Write a C-Program That Uses Functions To Insert A Sub-String In To A Given Main String From A Given Position.
Write a C program to print the following output.
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Explain the concept of frequency reuse in cellular systems.
What do you mean by co-channel interference and system capacity?
Implement Bubble Sort using C.
What are the methodology for dialog design?
Write the characteristics of a good user interface.
What are the difference between linear and non-linear data structure?