Created
April 28, 2019 14:47
-
-
Save Lulzx/912a80edaffc4e13f23804c7eb4773f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
void check(int matrix, int rows, int columns){ | |
printf("%d", matrix[0][0]); | |
} | |
int main(){ | |
int rows, columns, n, matrix[1000][1000]; | |
scanf("%d%d", &rows, &columns); | |
for(int i = 0; i < rows; i++){ | |
for(int j = 0; j < columns; j++){ | |
scanf("%d", &matrix[i][j]); | |
} | |
} | |
check(&matrix[rows][columns], rows, columns); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#include<stdio.h>
void poin_mat(int *mat , int rows ,int columns );
int main()
{
int i , j , mat[1000][1000] , rows , columns ;
scanf("%d%d",&rows,&columns);
if(rows!=columns)
{
printf("Enter equal number of rows and columns");
}
else
{
for(i=0;i<rows;i++)
{
for(j=0;j<columns;j++)
scanf("%d",&mat[i][j]);
}
}
void poin_mat(int *mat[][] , int rows , int columns)
{
int i , j , flag ;
}