C Program:
#include<stdio.h> #include<string.h> #include<conio.h> void main() {
Information about resetting and configuring Mobile phones (Java, Android, Symbian etc), educational articles especially for programming in C, C++ and Java and more about Computers and operating systems
#include<stdio.h> #include<string.h> #include<conio.h> void main() {
#include<stdio.h> main() { int a[7][7],i,j,k,m,n,temp; //reading printf("enter number of rows of matrix\n"); scanf("%i",&m); printf("enter number of columns of matrix\n"); scanf("%i",&n); printf("enter the elements\n"); for(i=0;i<m;i++) { for(j=0;j<n;j++) scanf("%d",&a[i][j]); } //displaying printf("the matrix you entered:\n"); for(i=0;i<m;i++) { printf("\n"); for(j=0;j<n;j++) { printf("%4d",*(*(a+i)+j)); } }